2004-11-19 23:55:09

by Russell King

[permalink] [raw]
Subject: smc91c92_cs silly

The patch below fixes wrong arguments to outw in smc91c92_cs.c

Signed-off-by: Russell King <[email protected]>

--- orig/drivers/net/pcmcia/smc91c92_cs.c 10 Sep 2004 15:42:36 -0000
+++ linux/drivers/net/pcmcia/smc91c92_cs.c 19 Nov 2004 23:42:22 -0000
@@ -2113,7 +2113,7 @@
tmp |= TCR_FDUPLX;
else
tmp &= ~TCR_FDUPLX;
- outw(ioaddr + TCR, tmp);
+ outw(tmp, ioaddr + TCR);

return 0;
}

--
Russell King