alistair23-linux/drivers/net/sfc
Stephen Hemminger eeda3fd64f netdev: introduce dev_get_stats()
In order for the network device ops get_stats call to be immutable, the handling
of the default internal network device stats block has to be changed. Add a new
helper function which replaces the old use of internal_get_stats.

Note: change return code to make it clear that the caller should not
go changing the returned statistics.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-19 21:40:23 -08:00
..
bitfield.h
boards.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
boards.h
efx.c sfc: Do not reset when hardware monitor detects a fault 2008-11-06 00:50:15 -05:00
efx.h sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
enum.h sfc: Do not reset when hardware monitor detects a fault 2008-11-06 00:50:15 -05:00
ethtool.c netdev: introduce dev_get_stats() 2008-11-19 21:40:23 -08:00
ethtool.h
falcon.c sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
falcon.h
falcon_hwdefs.h sfc: Clean up non-volatile memory partitioning 2008-11-06 00:49:56 -05:00
falcon_io.h
falcon_xmac.c
gmii.h
Kconfig sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
mac.h
Makefile sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
mdio_10g.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
mdio_10g.h sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
mtd.c sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
net_driver.h sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
phy.h
rx.c
rx.h
selftest.c
selftest.h
sfe4001.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
spi.h sfc: Expose flash region storing boot code as MTD 2008-11-06 00:49:57 -05:00
tenxpress.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
tx.c
tx.h
workarounds.h sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00
xenpack.h
xfp_phy.c sfc: Use lm87 and lm90 drivers for board temperature/power monitoring 2008-11-06 00:50:09 -05:00