[3/2][via-rhine][PATCH] fixing the reset fix

Roger Luethi
2003-02-27T12:25:33Z

[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

Bad semicolon in previous patch ([1/2]). Thanks to
Erik@harddisk-recovery.nl for spotting this.

[-- Attachment #2: via-rhine-1.17rc-03_reset_trivial.diff --]
[-- Type: text/plain, Size: 443 bytes --]

--- 08_tdwb_race/drivers/net/via-rhine.c Thu Feb 27 11:45:47 2003
+++ 09_reset_trivial/drivers/net/via-rhine.c Thu Feb 27 13:27:00 2003
@@ -562,7 +562,7 @@ static void wait_for_reset(struct net_de

/* VT86C100A may need long delay after reset (dlink) */
/* Seen on Rhine-II as well (rl) */
- while ((readw(ioaddr + ChipCmd) & CmdReset) && --boguscnt);
+ while ((readw(ioaddr + ChipCmd) & CmdReset) && --boguscnt)
udelay(5);

}