linux/net/batman-adv
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
..
aggregation.c batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
aggregation.h batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
bat_debugfs.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_debugfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bat_sysfs.c batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
bat_sysfs.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
bitarray.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_client.c batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions 2011-04-17 21:11:01 +02:00
gateway_client.h batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions 2011-04-17 21:11:01 +02:00
gateway_common.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
gateway_common.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
hard-interface.c batman-adv: Disallow regular interface as mesh device 2011-03-05 12:52:09 +01:00
hard-interface.h batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
hash.c batman-adv: remove extra layer between hash and hash element - hash bucket 2011-03-05 12:52:00 +01:00
hash.h batman-adv: remove extra layer between hash and hash element - hash bucket 2011-03-05 12:52:00 +01:00
icmp_socket.c batman-adv: Make orig_node->router an rcu protected pointer 2011-04-17 21:11:01 +02:00
icmp_socket.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
Kconfig
main.c batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
main.h batman-adv: rename global if_list to hardif_list 2011-03-05 12:52:05 +01:00
Makefile batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
originator.c batman-adv: Protect global TQ window with a spinlock 2011-04-17 21:11:01 +02:00
originator.h batman-adv: Make orig_node->router an rcu protected pointer 2011-04-17 21:11:01 +02:00
packet.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
ring_buffer.c batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
ring_buffer.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00
routing.c batman-adv: Protect global TQ window with a spinlock 2011-04-17 21:11:01 +02:00
routing.h batman-adv: Remove unused hdr_size variable in route_unicast_packet() 2011-03-05 12:52:08 +01:00
send.c batman-adv: Make orig_node->router an rcu protected pointer 2011-04-17 21:11:01 +02:00
send.h batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
soft-interface.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
soft-interface.h batman-adv: Disallow regular interface as mesh device 2011-03-05 12:52:09 +01:00
translation-table.c batman-adv: Correct rcu refcounting for orig_node 2011-03-05 12:52:01 +01:00
translation-table.h batman-adv: Remove duplicate types.h inclusions 2011-02-11 23:30:29 +01:00
types.h batman-adv: protect softif_neigh by rcu 2011-04-17 21:11:02 +02:00
unicast.c batman-adv: concentrate all curr_gw related rcu operations in select/deselect functions 2011-04-17 21:11:01 +02:00
unicast.h batman-adv: rename batman_if struct to hard_iface 2011-03-05 12:52:06 +01:00
vis.c batman-adv: Make orig_node->router an rcu protected pointer 2011-04-17 21:11:01 +02:00
vis.h batman-adv: Update copyright years 2011-01-31 14:57:12 +01:00