OpenCloudOS-Kernel/drivers/net/arm
David Decotigny 7073949720 ethtool: cosmetic: Use ethtool ethtool_cmd_speed API
This updates the network drivers so that they don't access the
ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
instead.

For most of the drivers, these changes are purely cosmetic and don't
fix any problem, such as for those 1GbE/10GbE drivers that indirectly
call their own ethtool get_settings()/mii_ethtool_gset(). The changes
are meant to enforce code consistency and provide robustness with
future larger throughputs, at the expense of a few CPU cycles for each
ethtool operation.

All drivers compiled with make allyesconfig ion x86_64 have been
updated.

Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-29 14:03:01 -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 net: am79c961a: Omit private ndo_get_stats function 2010-12-06 13:24:46 -08: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
ep93xx_eth.c ep93xx_eth: Use net_device_stats from struct net_device 2010-08-19 17:19:04 -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 ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
ixp4xx_eth.c net: ixp4xx_eth: Return proper error for eth_init_one 2011-01-06 11:12:01 -08:00
ks8695net.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
ks8695net.h net: Add support for the KS8695 ethernet devices. 2008-12-11 21:00:29 -08:00
w90p910_ether.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00