Commit 3858b5dd authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] smc91c92_cs outw() fix

The patch below fixes wrong arguments to outw in smc91c92_cs.c
Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4e7ef413
......@@ -2115,7 +2115,7 @@ static int smc_netdev_set_ecmd(struct net_device *dev, struct ethtool_cmd *ecmd)
tmp |= TCR_FDUPLX;
else
tmp &= ~TCR_FDUPLX;
outw(ioaddr + TCR, tmp);
outw(tmp, ioaddr + TCR);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment