linux/drivers/net/igb
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
..
e1000_82575.c igb: fix typo in igb_validate_nvm_checksum_82580 2011-04-13 19:16:19 -07:00
e1000_82575.h igb: Add Energy Efficient Ethernet (EEE) for i350 devices. 2011-03-12 04:09:20 -08:00
e1000_defines.h igb: Add messaging for thermal sensor events on i350 devices 2011-03-14 22:26:54 -07:00
e1000_hw.h igb: Update NVM functions to work with i350 devices 2011-03-12 04:09:37 -08:00
e1000_mac.c Fix common misspellings 2011-03-31 11:26:23 -03:00
e1000_mac.h
e1000_mbx.c igb: Enable PF side of SR-IOV support for i350 devices 2011-02-11 08:42:47 -08:00
e1000_mbx.h
e1000_nvm.c igb: Update NVM functions to work with i350 devices 2011-03-12 04:09:37 -08:00
e1000_nvm.h igb: Update NVM functions to work with i350 devices 2011-03-12 04:09:37 -08:00
e1000_phy.c Fix common misspellings 2011-03-31 11:26:23 -03:00
e1000_phy.h igb: Add support for DH89xxCC 2010-09-22 21:20:04 -07:00
e1000_regs.h igb: Add messaging for thermal sensor events on i350 devices 2011-03-14 22:26:54 -07:00
igb_ethtool.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
igb_main.c igb: introduce igb_thermal_sensor_event for sensor checking 2011-04-13 19:16:44 -07:00
igb.h igb: Add DMA Coalescing feature to driver 2011-03-12 04:09:55 -08:00
Makefile