linux/drivers/net
Jeff Garzik 991b5557f7 [netdrvr] ewrk3: correct card detection bug
Arwin Vosselman pointed out:
> The ewrk3-driver doesn't function with 2.6.16-kernels (used 2.6.16.41 for
> my tests). Cards will never be detected due to this bug.
>
> drivers/net/ewrks3.c:
> Line 417 reads:
>
> if (nicsr == (CSR_TXD | CSR_RXD))
>
> that should be:
>
> if (nicsr != (CSR_TXD | CSR_RXD))
>
> Comparison with the same line in v2.4 shows why:
>
> 2.4:
> if (nicsr == (CSR_TXD | CSR_RXD)){
>
> blah, blah
> ==========
> 2.6:
> if (nicsr == (CSR_TXD | CSR_RXD))
>     return -ENXIO;
>
> blah, blah
> ==========
>
> blah,blah will not, but should, be executed in 2.6 with a card being present.
>
> The fix mentioned above solves this bug.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-03-23 02:03:29 -04:00
..
appletalk
arcnet bugfixes and new hardware support for arcnet driver 2007-02-17 15:30:48 -05:00
arm
atl1 [PATCH] atl1 trivial endianness misannotations 2007-03-14 15:27:50 -07:00
bonding bonding: Improve IGMP join processing 2007-03-06 06:08:11 -05:00
chelsio [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
cris
cxgb3 cxgb3 - T3B2 pcie config space 2007-03-23 01:48:34 -04:00
e1000 [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
ehea [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
fec_8xx
fs_enet
hamradio Replace local random function with random32() 2007-02-20 11:18:13 -05:00
ibm_emac
irda [IrDA]: Delay needed when uploading firmware chunks 2007-03-20 00:09:40 -07:00
ixgb [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
ixp2000
myri10ge myri10ge: update driver version to 1.3.0-1.226 2007-03-23 01:48:35 -04:00
netxen NetXen: Fix softlockup seen during hardware access 2007-03-15 10:59:54 -04:00
pcmcia [PATCH] ibmtr probe is __devinit, not __init 2007-03-14 15:27:48 -07:00
phy
sk98lin sk98lin: planned removal 2007-02-17 15:37:14 -05:00
skfp net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
tokenring [PATCH] ibmtr probe is __devinit, not __init 2007-03-14 15:27:48 -07:00
tulip [PATCH] dmfe trivial endianness annotations 2007-03-14 15:27:49 -07:00
wan z85230: Fix FIFO handling 2007-03-09 11:51:44 -05:00
wireless [PATCH] airo: Fix an error path memory leak 2007-03-16 15:32:47 -04:00
3c59x.c 3c59x: Fix several modpost warnings 2007-03-09 11:57:09 -05:00
3c501.c
3c501.h
3c503.c
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 [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
8139too.c 8139too: RTNL and flush_scheduled_work deadlock 2007-02-20 11:18:12 -05:00
8390.c
8390.h
82596.c
a2065.c
a2065.h
ac3200.c
acenic_firmware.h
acenic.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
acenic.h
amd8111e.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atari_bionet.c
atari_pamsnet.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
b44.c B44: increase wait loop 2007-02-17 15:37:14 -05:00
b44.h
bmac.c
bmac.h
bnx2_fw2.h
bnx2_fw.h
bnx2.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
bnx2.h
bsd_comp.c
cassini.c
cassini.h
cs89x0.c
cs89x0.h
de600.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dgrs_asstruct.h
dgrs_bcomm.h
dgrs_es4h.h
dgrs_ether.h
dgrs_firmware.c
dgrs_i82596.h
dgrs_plx9060.h
dgrs.c
dgrs.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dummy.c
e100.c
e2100.c
eepro100.c
eepro.c
eexpress.c
eexpress.h
epic100.c
eql.c
es3210.c
eth16i.c
ewrk3.c [netdrvr] ewrk3: correct card detection bug 2007-03-23 02:03:29 -04:00
ewrk3.h
fealnx.c
fec.c
fec.h
forcedeth.c forcedeth: fix checksum feature in mcp65 2007-02-27 04:16:02 -05:00
gianfar_ethtool.c
gianfar_mii.c
gianfar_mii.h
gianfar_sysfs.c
gianfar.c [GIANFAR]: Fix compile error in latest git 2007-03-05 13:29:55 -08:00
gianfar.h
hamachi.c
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c Fix link autonegotiation timer. 2007-02-17 15:37:14 -05:00
isa-skeleton.c
iseries_veth.c
jazzsonic.c
Kconfig cxgb3 - fix white spaces in drivers/net/Kconfig 2007-03-23 01:48:35 -04:00
lance.c
lasi_82596.c
lib8390.c
LICENSE.SRC
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c macb: Remove inappropriate spinlocks around mii calls 2007-02-17 15:30:48 -05:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
Makefile
meth.c Convert meth to netdev_priv 2007-02-17 15:30:47 -05:00
meth.h
mii.c
mipsnet.c
mipsnet.h
mv643xx_eth.c mv643xx_eth: add mv643xx_eth_shutdown function 2007-03-23 01:48:34 -04:00
mv643xx_eth.h Fix mv643xx_eth compilation. 2007-03-02 20:16:10 -05:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c natsemi: Avoid IntrStatus lossage if RX state machine resets. 2007-03-15 10:59:54 -04:00
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
ns83820.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c Fix return code in pci-skeleton.c 2007-03-23 01:48:33 -04:00
pcnet32.c pcnet32: Fix PCnet32 performance bug on non-coherent architecutres 2007-03-06 06:14:54 -05:00
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c [PPPOE]: Use ifindex instead of device pointer in key lookups. 2007-03-05 13:25:28 -08:00
pppox.c
qla3xxx.c qla3xxx: bugfix for line omitted in previous patch. 2007-03-02 20:16:10 -05:00
qla3xxx.h qla3xxx: Kernic Panic on pSeries under stress conditions 2007-02-27 04:21:45 -05:00
r8169.c r8169: fix a race between PCI probe and dev_open 2007-03-09 11:51:32 -05:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h S2IO: Added a loadable parameter to enable or disable vlan stripping in frame. 2007-02-27 04:27:11 -05:00
s2io.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
s2io.h S2IO: Added a loadable parameter to enable or disable vlan stripping in frame. 2007-02-27 04:27:11 -05:00
saa9730.c SAA9730: Fix large pile of warnings 2007-03-23 01:48:34 -04:00
saa9730.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c sgiseeq: Don't include unnecessary headerfiles. 2007-02-27 04:21:25 -05:00
sgiseeq.h
shaper.c
sis190.c sis190: RTNL and flush_scheduled_work deadlock 2007-02-20 11:18:12 -05:00
sis900.c sis900 warning fixes 2007-03-06 06:14:54 -05:00
sis900.h
skge.c skge: use per-port phy locking 2007-03-23 01:48:33 -04:00
skge.h skge: use per-port phy locking 2007-03-23 01:48:33 -04:00
sky2.c sky2: turn off Rx checksum on bad hardware 2007-03-09 11:51:32 -05:00
sky2.h sky2: transmit timeout 2007-02-17 15:30:47 -05:00
slhc.c
slip.c
slip.h
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c spidernet: janitorial, typos 2007-02-27 04:16:03 -05:00
spider_net.h spidernet: janitorial, typos 2007-02-27 04:16:03 -05:00
starfire_firmware.h
starfire_firmware.pl
starfire.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
stnic.c
sun3_82586.c net: remove a collection of unneeded #undef REALLY_SLOW_IO stuff 2007-02-27 04:30:42 -05:00
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem_phy.c sungem_phy: support bcm5461 phy, autoneg. 2007-02-27 04:16:02 -05:00
sungem_phy.h sungem_phy: support bcm5461 phy, autoneg. 2007-02-27 04:16:02 -05:00
sungem.c
sungem.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
tc35815.c jmr3927: do not call tc35815_killall(). 2007-03-02 19:55:07 -05:00
tg3.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
tg3.h [TG3]: TSO workaround fixes. 2007-02-26 11:42:47 -08:00
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c
typhoon-firmware.h
typhoon.c [VLAN]: Avoid a 4-order allocation. 2007-03-02 20:44:51 -08:00
typhoon.h
ucc_geth_phy.c
ucc_geth_phy.h
ucc_geth.c Revert "ucc_geth: returns NETDEV_TX_BUSY when BD ring is full" 2007-03-23 01:48:34 -04:00
ucc_geth.h
via-rhine.c via-rhine: set avoid_D3 for broken BIOSes 2007-03-09 11:47:19 -05:00
via-velocity.c
via-velocity.h
wd.c
yellowfin.c
znet.c
zorro8390.c