public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* smc91c92_cs silly
@ 2004-11-19 23:47 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2004-11-19 23:47 UTC (permalink / raw)
  To: Jeff Garzik, Andrew Morton; +Cc: Linux Kernel List

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

Signed-off-by: Russell King <rmk@arm.linux.org.uk>

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-19 23:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-19 23:47 smc91c92_cs silly Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox