linux-hardened/drivers/net/ethernet/sfc
Ben Hutchings 710b208dc2 sfc: Merge efx_mac_operations into efx_nic_type
No NICs need to switch efx_mac_operations at run-time, and the MAC
operations are fairly closely bound to NIC types.

Move efx_mac_operations::reconfigure to efx_nic_type::reconfigure_mac
and efx_mac_operations::check_fault fo efx_nic_type::check_mac_fault.
Change callers to call through efx->type or directly if the NIC type
is known.

Remove efx_mac_operations::update_stats.  The implementations for
Falcon used to fetch MAC statistics synchronously and this was used by
efx_register_netdev() to clear statistics after running self-tests.
However, it now only converts statistics that have already been
fetched (and that only for Falcon), and the call from
efx_register_netdev() has no effect.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2012-01-27 00:10:46 +00:00
..
bitfield.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
efx.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
efx.h sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
enum.h
ethtool.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
falcon.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
falcon_boards.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
falcon_xmac.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
filter.c sfc: Remove now-unused filter function 2012-01-04 14:10:23 -05:00
filter.h sfc: Add support for retrieving and removing filters by ID 2012-01-04 14:10:00 -05:00
io.h
Kconfig
Makefile
mcdi.c sfc: Use new names for MC shared memory layout constants 2012-01-27 00:10:44 +00:00
mcdi.h sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
mcdi_mac.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
mcdi_pcol.h sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mcdi_phy.c sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
mdio_10g.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
mdio_10g.h
mtd.c sfc: Update MCDI (firmware interface) definitions 2012-01-09 17:08:16 +00:00
net_driver.h sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
nic.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
nic.h sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
phy.h
qt202x_phy.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
regs.h
rx.c sfc: Remove parentheses around return expressions, reported by checkpatch 2012-01-05 18:54:04 +00:00
selftest.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
selftest.h
siena.c sfc: Merge efx_mac_operations into efx_nic_type 2012-01-27 00:10:46 +00:00
spi.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tenxpress.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
txc43128_phy.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
workarounds.h