linux/arch/mips
David Decotigny 8ae6daca85 ethtool: Call ethtool's get/set_settings callbacks with cleaned data
This makes sure that when a driver calls the ethtool's
get/set_settings() callback of another driver, the data passed to it
is clean. This guarantees that speed_hi will be zeroed correctly if
the called callback doesn't explicitely set it: we are sure we don't
get a corrupted speed from the underlying driver. We also take care of
setting the cmd field appropriately (ETHTOOL_GSET/SSET).

This applies to dev_ethtool_get_settings(), which now makes sure it
sets up that ethtool command parameter correctly before passing it to
drivers. This also means that whoever calls dev_ethtool_get_settings()
does not have to clean the ethtool command parameter. This function
also becomes an exported symbol instead of an inline.

All drivers visible to make allyesconfig under x86_64 have been
updated.

Signed-off-by: David Decotigny <decot@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-29 14:01:30 -07:00
..
alchemy Fix common misspellings 2011-03-31 11:26:23 -03:00
ar7 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
ath79 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
bcm47xx
bcm63xx MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
boot
cavium-octeon Fix common misspellings 2011-03-31 11:26:23 -03:00
cobalt
configs
dec MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
emma MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
fw Fix common misspellings 2011-03-31 11:26:23 -03:00
include/asm Fix common misspellings 2011-03-31 11:26:23 -03:00
jazz MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
jz4740 Fix common misspellings 2011-03-31 11:26:23 -03:00
kernel Fix common misspellings 2011-03-31 11:26:23 -03:00
lasat MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
lib Fix common misspellings 2011-03-31 11:26:23 -03:00
loongson MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
math-emu Fix common misspellings 2011-03-31 11:26:23 -03:00
mipssim MIPS: SMTC: Move declaration of smtc_init_secondary to <asm/smtc.h>. 2011-03-25 18:45:13 +01:00
mm Fix common misspellings 2011-03-31 11:26:23 -03:00
mti-malta Fix common misspellings 2011-03-31 11:26:23 -03:00
nxp/pnx8550/common
oprofile mips: change to new flag variable 2011-03-17 14:02:56 +01:00
pci Fix common misspellings 2011-03-31 11:26:23 -03:00
pmc-sierra Fix common misspellings 2011-03-31 11:26:23 -03:00
pnx833x Fix common misspellings 2011-03-31 11:26:23 -03:00
pnx8550 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
power
powertv MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
rb532 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
sgi-ip22 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
sgi-ip27 Fix common misspellings 2011-03-31 11:26:23 -03:00
sgi-ip32 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
sibyte MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
sni MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
txx9 ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
vr41xx mips: vr41xx: Use irdq_irq_disabled() 2011-03-29 14:48:07 +02:00
wrppmc
Kbuild
Kbuild.platforms
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig.debug
Makefile Fix common misspellings 2011-03-31 11:26:23 -03:00