OpenCloudOS-Kernel/drivers/net/ethernet/dlink
Tobias Klauser a548779bb7 net: dl2k: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct
netdev_private, use stats from struct net_device. Also remove the now
unnecessary .ndo_get_stats function and the #ifdef'ed increment of the
collisions16 counter which doesn't exist in struct net_device_stats.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-07 07:03:33 -07:00
..
Kconfig dl2k: Add support for IP1000A-based cards 2015-11-16 17:11:31 -05:00
Makefile drivers/net: delete old parallel port de600/de620 drivers 2013-01-22 10:39:49 -05:00
dl2k.c net: dl2k: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
dl2k.h net: dl2k: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
sundance.c net: dlink: sundance: use new api ethtool_{get|set}_link_ksettings 2017-01-02 16:59:10 -05:00