]> git.hungrycats.org Git - linux/commitdiff
[PATCH] via-rhine: fixing the reset fix
authorRoger Luethi <rl@hellgate.ch>
Sat, 1 Mar 2003 02:39:20 +0000 (18:39 -0800)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sat, 1 Mar 2003 02:39:20 +0000 (18:39 -0800)
This trivial patch fixes an obvious typo. Please apply.

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

drivers/net/via-rhine.c

index 5635a9d9706d14c29fddc2580dfa9fc9d2d883f6..4064cd5c5bfa716fc85c69936e45da1a5b121829 100644 (file)
@@ -562,7 +562,7 @@ static void wait_for_reset(struct net_device *dev, int chip_id, char *name)
 
                /* 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);
 
        }