smc91c92_cs silly

From: Russell King
Date: Fri Nov 19 2004 - 18:59:30 EST


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

Signed-off-by: Russell King <rmk@xxxxxxxxxxxxxxxx>

--- 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/