OpenCloudOS-Kernel/drivers/net/arm
Tobias Klauser bb2537f1e7 ether3: Use net_device_stats from struct net_device
struct net_device has its own struct net_device_stats member, so use
this one instead of a private copy in the ether1_priv struct. As the new
ndo_get_stats function would just return dev->stats we can omit it. This
patch also removes an incorrect memset of the stats on open.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-19 00:12:38 -07:00
..
Kconfig ARM: 5865/1: nuc900 ethernet driver needs mii 2010-01-05 20:53:07 +00:00
Makefile Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
am79c961a.c am79c961a: Use net_device_stats from struct net_device 2010-08-17 02:32:55 -07:00
am79c961a.h am79c961a: Use net_device_stats from struct net_device 2010-08-17 02:32:55 -07:00
at91_ether.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
at91_ether.h at91_ether: use netstats in net_device structure 2008-07-22 19:45:41 -04:00
ep93xx_eth.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-05-12 00:05:35 -07:00
ether1.c ether1: Use net_device_stats from struct net_device 2010-08-19 00:12:38 -07:00
ether1.h ether1: Use net_device_stats from struct net_device 2010-08-19 00:12:38 -07:00
ether3.c ether3: Use net_device_stats from struct net_device 2010-08-19 00:12:38 -07:00
ether3.h ether3: Use net_device_stats from struct net_device 2010-08-19 00:12:38 -07:00
etherh.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ixp4xx_eth.c Merge branch 'ixp4xx' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux-2.6 2010-08-11 09:17:27 -07:00
ks8695net.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
ks8695net.h net: Add support for the KS8695 ethernet devices. 2008-12-11 21:00:29 -08:00
w90p910_ether.c net/nuc900: enable Mac driver clock 2010-07-15 19:05:17 -07:00