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
..
Kconfig
Makefile
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
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
falcon.h
falcon_hwdefs.h
falcon_io.h
falcon_xmac.c
gmii.h
mac.h
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
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
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