kernel-fxtec-pro1x/drivers/net
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
..
appletalk
arcnet
arm
atl1c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-04-26 12:16:46 -07:00
atl1e
atlx
benet Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-04-26 12:16:46 -07:00
bna net:bna: fix compile warning of ‘bfa_ioc_smem_pgoff’ defined but not used 2011-04-19 20:11:42 -07:00
bnx2x Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-04-26 12:16:46 -07:00
bonding ipv4, ipv6, bonding: Restore control over number of peer notifications 2011-04-29 12:44:11 -07:00
caif
can
chelsio net: chelsio: convert to hw_features 2011-04-18 23:03:59 -07:00
cris
cxgb3
cxgb4
cxgb4vf
e1000
e1000e e1000e: implement ethtool set_phys_id 2011-04-27 02:05:53 -07:00
ehea Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-04-26 12:16:46 -07:00
enic
fs_enet Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-04-26 12:16:46 -07:00
hamradio
ibm_newemac
igb
igbvf
irda net: fix section mismatches 2011-04-18 22:59:04 -07:00
ixgb
ixgbe ixgbe: convert to ethtool set_phys_id 2011-04-27 02:22:11 -07:00
ixgbevf
ixp2000
mlx4
myri10ge net: myri10ge: convert to hw_features 2011-04-18 22:49:16 -07:00
netxen
octeon
pch_gbe ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
pcmcia
phy
qlcnic qlcnic: Support for GBE port settings 2011-04-29 13:00:00 -07:00
qlge net: qlge: convert to hw_features 2011-04-18 23:04:00 -07:00
sfc ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
skfp
stmmac ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
tile net:use help function of skb_checksum_start_offset to calculate offset 2011-04-28 13:28:57 -07:00
tokenring net: fix section mismatches 2011-04-18 22:59:04 -07:00
tulip net: fix section mismatches 2011-04-18 22:59:04 -07:00
usb ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
vmxnet3 net: vmxnet3: convert to hw_features 2011-04-18 23:04:00 -07:00
vxge net: vxge: convert to hw_features 2011-04-18 23:03:59 -07:00
wan
wimax
wireless Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-04-26 12:16:46 -07:00
xen-netback net: xen-netback: convert to hw_features 2011-04-20 01:30:45 -07:00
3c59x.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
8390p.c
82596.c
a2065.c
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2.c
bnx2.h
bnx2_fw.h
bsd_comp.c
cassini.c
cassini.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.h
cpmac.c
cs89x0.c
cs89x0.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60.c
enc28j60_hw.h
epic100.c
eql.c
es3210.c
eth16i.c
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec.c
fec.h
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
forcedeth.c net: forcedeth: fix compile warning of not used nv_set_tso function 2011-04-19 20:11:41 -07:00
fsl_pq_mdio.c
fsl_pq_mdio.h
ftmac100.c
ftmac100.h
gianfar.c
gianfar.h
gianfar_ethtool.c
gianfar_sysfs.c
greth.c
greth.h
hamachi.c
hp-plus.c
hp.c
hp100.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
ibmlana.h
ibmveth.c net: ibmveth: force reconfiguring checksum settings on startup 2011-04-28 13:45:41 -07:00
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
iseries_veth.c
jazzsonic.c
jme.c
jme.h
Kconfig
korina.c
ks8842.c
ks8851.c
ks8851.h
ks8851_mll.c
ksz884x.c
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
ll_temac.h
ll_temac_main.c
ll_temac_mdio.c
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
macvtap.c
Makefile
mdio.c ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
meth.c
meth.h
mii.c ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
mipsnet.c
mv643xx_eth.c mv643xx_eth: Fix build regression. 2011-04-21 15:19:02 -07:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne-h8300.c
ne.c
ne2.c
ne2k-pci.c
ne3210.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
netconsole.c netconsole: fix deadlock when removing net driver that netconsole is using (v2) 2011-04-22 14:33:51 -07:00
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c
niu.h
ns83820.c
pasemi_mac.c
pasemi_mac.h
pasemi_mac_ethtool.c
pci-skeleton.c
pcnet32.c ethtool: Call ethtool's get/set_settings callbacks with cleaned data 2011-04-29 14:01:30 -07:00
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppox.c
pptp.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c
qla3xxx.c
qla3xxx.h
r6040.c
r8169.c r8169: fix merge conflict fix. 2011-04-27 13:52:22 -07:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c net: s2io: convert to hw_features 2011-04-18 23:03:58 -07:00
s2io.h
s6gmac.c
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c
sis900.c
sis900.h
skge.c
skge.h
sky2.c
sky2.h
slhc.c
slip.c
slip.h
smc-mca.c net: fix section mismatches 2011-04-18 22:59:04 -07:00
smc-ultra.c
smc-ultra32.c
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smsc911x.c
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net.c
spider_net.h
spider_net_ethtool.c
starfire.c
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem.c
sungem.h
sungem_phy.c
sungem_phy.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c
tehuti.h
tg3.c tg3: Convert u32 flag,flg2,flg3 uses to bitmap 2011-04-28 13:42:24 -07:00
tg3.h tg3: Convert u32 flag,flg2,flg3 uses to bitmap 2011-04-28 13:42:24 -07:00
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c net: tun: convert to hw_features 2011-04-20 01:30:45 -07:00
typhoon.c
typhoon.h
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
veth.c
via-rhine.c
via-velocity.c
via-velocity.h
virtio_net.c
wd.c
xen-netfront.c
xilinx_emaclite.c
xtsonic.c
yellowfin.c
znet.c
zorro8390.c