linux/drivers/net
Steve Glendinning 1609559547 smsc9420: fix interrupt signalling test failures
smsc9420 performs an interrupt signalling test when the interface is
brought up.  The current code mistakenly sets its test flag to false
AFTER enabling the software interrupt source, making failure quite
likely.

This patch changes the code to set the test flag BEFORE enabling
interrupts. I've also removed an smp_wmb because the following spinlock
provides an implicit memory barrier.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-29 17:29:15 -08:00
..
appletalk appletalk: convert ipddp to net_device_ops 2009-01-07 17:22:19 -08:00
arcnet
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2009-01-26 15:12:47 -08:00
atl1e
atlx
bonding
can
chelsio
cris
cxgb3 cxgb3: Fix LRO misalignment 2009-01-19 16:20:16 -08:00
e1000 e1000: fix bug with shared interrupt during reset 2009-01-27 16:41:58 -08:00
e1000e e1000e: workaround hw errata 2009-01-26 12:16:26 -08:00
ehea powerpc: Cleanup from l64 to ll64 change: drivers/net 2009-01-13 14:48:00 +11:00
enic netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
fs_enet powerpc/fs_enet: Add missing irq free in error path. 2009-01-14 20:43:43 -08:00
hamradio drivers/net/hamradio/6pack.c: move a dereference below a NULL test 2009-01-11 00:06:34 -08:00
ibm_newemac net: Add init_dummy_netdev() and fix EMAC driver using it 2009-01-14 21:05:05 -08:00
igb
irda drivers/net/irda/irda-usb.c: fix buffer overflow 2009-01-14 20:55:00 -08:00
ixgb
ixgbe ixgbe: Fix usage of netif_*_all_queues() with netif_carrier_{off|on}() 2009-01-19 16:55:03 -08:00
ixp2000
mlx4 mlx4_core: Fix min() warning 2009-01-15 20:43:56 -08:00
myri10ge myri10ge: don't forget pci_disable_device() 2009-01-20 14:41:18 -08:00
netxen netxen: fix memory leak in drivers/net/netxen_nic_init.c 2009-01-29 16:56:14 -08:00
pcmcia
phy phy: Add suspend/resume support to SMSC PHYs 2009-01-22 14:07:43 -08:00
qlge qlge: Remove dynamic alloc of rx ring control blocks. 2009-01-11 00:07:36 -08:00
sfc sfc: SFT9001: Fix condition for LNPGA power-off 2009-01-11 00:18:13 -08:00
skfp
tokenring
tulip windbond: convert devices to new API 2009-01-07 18:02:26 -08:00
usb usb/mcs7830: Don't use buffers from stack for USB transfers 2009-01-21 12:56:24 -08:00
wan WAN: Fix NAPI interface in IXP4xx HSS driver. 2009-01-12 21:18:32 -08:00
wimax wimax: fix build issue when debugfs is disabled 2009-01-29 17:18:31 -08:00
wireless ath5k: fix locking in ath5k_config 2009-01-29 16:11:19 -05:00
3c59x.c 3c59x: Use device_set_wakeup_enable 2009-01-11 00:06:32 -08:00
3c501.c
3c501.h
3c503.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
8139too.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
8390.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
8390.h
8390p.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
82596.c
a2065.c
a2065.h
ac3200.c
acenic.c netdev: missing validate_address hooks 2009-01-11 00:06:42 -08:00
acenic.h
amd8111e.c amd8111e: convert to net_device_ops 2009-01-07 18:09:58 -08:00
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c atp: convert to net_device_ops 2009-01-07 18:10:24 -08:00
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c ax88796: start_xmit fix using net_device_ops 2009-01-14 21:05:55 -08:00
b44.c b44: GFP_DMA skb should not escape from driver 2009-01-15 15:29:35 -08:00
b44.h b44: GFP_DMA skb should not escape from driver 2009-01-15 15:29:35 -08:00
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2_fw2.h
bnx2_fw.h
bnx2.c
bnx2.h
bnx2x_fw_defs.h
bnx2x_hsi.h
bnx2x_init_values.h
bnx2x_init.h
bnx2x_link.c bnx2x: Version update 2009-01-19 16:20:15 -08:00
bnx2x_link.h
bnx2x_main.c bnx2x: tx_has_work should not wait for FW 2009-01-26 12:36:42 -08:00
bnx2x_reg.h bnx2x: Version update 2009-01-19 16:20:15 -08:00
bnx2x.h bnx2x: Version update 2009-01-19 16:20:15 -08:00
bsd_comp.c
cassini.c cassini: update to net_device_ops 2009-01-07 17:25:41 -08:00
cassini.h
cpmac.c
cs89x0.c
cs89x0.h
de600.c de600: update to net_device_ops 2009-01-07 17:34:36 -08:00
de600.h
de620.c de600: update to net_device_ops 2009-01-07 17:34:36 -08:00
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dummy.c
e100.c firmware: convert e100 driver to request_firmware() 2009-01-07 12:59:17 -08:00
e2100.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c enc28j60: update to net_device_ops 2009-01-07 17:30:09 -08:00
epic100.c epic100: update to net_device_ops 2009-01-07 17:27:39 -08:00
eql.c
es3210.c
eth16i.c
ewrk3.c
ewrk3.h
fealnx.c fealnx: update to net_device_ops 2009-01-07 17:57:47 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c
fec.h
forcedeth.c forcedeth: napi schedule lock fix 2009-01-11 00:11:28 -08:00
gianfar_ethtool.c
gianfar_mii.c
gianfar_mii.h
gianfar_sysfs.c
gianfar.c gianfar: Revive VLAN support 2009-01-26 14:33:23 -08:00
gianfar.h
hamachi.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
hp100.c hp100: update to net_device_ops 2009-01-07 18:13:49 -08:00
hp100.h
hp-plus.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
hp.c
hplance.c
hplance.h
hydra.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
ibmlana.c
ibmlana.h
ibmveth.c powerpc: Cleanup from l64 to ll64 change: drivers/net 2009-01-13 14:48:00 +11:00
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c ipg: update to net_device_ops 2009-01-07 17:26:14 -08:00
ipg.h
isa-skeleton.c
iseries_veth.c powerpc: Cleanup from l64 to ll64 change: drivers/net 2009-01-13 14:48:00 +11:00
jazzsonic.c
jme.c
jme.h
Kconfig r6040: no longer mark r6040 as being experimental 2009-01-11 00:03:39 -08:00
korina.c korina: drop leftover assignment 2009-01-19 16:23:01 -08:00
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
macb.c macb: avoid lockup when TGO during underrun 2009-01-19 16:20:16 -08:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
Makefile
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c mv643xx_eth: prevent interrupt storm on ifconfig down 2009-01-19 17:58:07 -08:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c natsemi: update to net_device_ops 2009-01-07 17:57:19 -08:00
ne2.c
ne2k-pci.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
ne3210.c
ne-h8300.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
ne.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c
niu.h
ns83820.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
pasemi_mac_ethtool.c
pasemi_mac.c powerpc: Change u64/s64 to a long long integer type 2009-01-13 14:47:59 +11:00
pasemi_mac.h
pci-skeleton.c
pcnet32.c pcnet32: round off carrier watch timer 2009-01-08 11:17:13 -08:00
plip.c plip: update to net_device_ops 2009-01-07 17:26:48 -08:00
ppp_async.c
ppp_deflate.c
ppp_generic.c net: ppp_generic - fix regressions caused by IDR conversion 2009-01-12 22:11:56 -08:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppol2tp.c
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
qla3xxx.c
qla3xxx.h
r6040.c r6040: Remove unused variable pdev from drivers/net/r6040.c 2009-01-26 21:54:21 -08:00
r8169.c
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c
s2io.h
sb1000.c sb1000: update to net_device_ops 2009-01-07 17:56:54 -08:00
sb1250-mac.c
sc92031.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c sis190: update to net_device_ops 2009-01-07 17:35:41 -08:00
sis900.c sis900: generate fake MAC address if the hardware doesn't have one 2009-01-14 20:46:24 -08:00
sis900.h
skge.c
skge.h
sky2.c
sky2.h
slhc.c
slip.c slip: convert to net_device_ops 2009-01-07 18:09:36 -08:00
slip.h
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
smc-ultra32.c
smc-ultra.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
smsc911x.c smsc911x: register irq with device name, not driver name 2009-01-11 00:14:52 -08:00
smsc911x.h
smsc9420.c smsc9420: fix interrupt signalling test failures 2009-01-29 17:29:15 -08:00
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire.c starfire: update to net_device_ops 2009-01-07 17:58:17 -08:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c sundance: update to net_device_ops 2009-01-07 17:58:43 -08:00
sungem_phy.c
sungem_phy.h
sungem.c sungem: update to net_device_ops 2009-01-07 17:28:54 -08:00
sungem.h
sunhme.c sunhme: update to net_device_ops 2009-01-07 17:28:35 -08:00
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti_fw.h
tehuti.c
tehuti.h
tg3.c tg3: Fix firmware loading 2009-01-19 16:57:45 -08:00
tg3.h tg3: Fix firmware loading 2009-01-19 16:57:45 -08:00
tlan.c tlan: update to net_device_ops 2009-01-07 17:27:15 -08:00
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c
typhoon-firmware.h
typhoon.c typhoon: update to net_device_ops 2009-01-07 17:29:46 -08:00
typhoon.h
ucc_geth_ethtool.c
ucc_geth_mii.c ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
ucc_geth_mii.h ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
ucc_geth.c ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
ucc_geth.h ucc_geth: Change uec phy id to the same format as gianfar's 2009-01-29 17:28:04 -08:00
veth.c
via-rhine.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
via-velocity.c via-velocity: fix hot spin 2009-01-20 14:44:01 -08:00
via-velocity.h
virtio_net.c virtio_net: use correct accessors for scatterlists 2009-01-26 21:00:33 -08:00
wd.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
xen-netfront.c
xtsonic.c
yellowfin.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00
znet.c
zorro8390.c netdev: add missing set_mac_address hook 2009-01-11 00:06:36 -08:00