Commit 165f042e authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Jeff Garzik

eepro100 net driver bug fixes:

* fix chip id test
* add udelay(1) to "make [the workaround] stick"
parent 3a6fdfa4
...@@ -1422,9 +1422,10 @@ speedo_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -1422,9 +1422,10 @@ speedo_start_xmit(struct sk_buff *skb, struct net_device *dev)
/* workaround for hardware bug on 10 mbit half duplex */ /* workaround for hardware bug on 10 mbit half duplex */
if ((sp->partner == 0) || (sp->chip_id == 1)) { if ((sp->partner == 0) && (sp->chip_id == 1)) {
wait_for_cmd_done(ioaddr + SCBCmd); wait_for_cmd_done(ioaddr + SCBCmd);
outb(0 , ioaddr + SCBCmd); outb(0 , ioaddr + SCBCmd);
udelay(1);
} }
/* Trigger the command unit resume. */ /* Trigger the command unit resume. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment