]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix dl2k constants
authorAl Viro <viro@ZenIV.linux.org.uk>
Fri, 1 Feb 2008 07:05:44 +0000 (07:05 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Feb 2008 09:54:03 +0000 (20:54 +1100)
The MSSR constants didn't match the reality - bitfield declarations used
to be correct (1000BT_FD - bit 11, 1000BT_HD - bit 10), but enum had
them the other way round.  Went unnoticed until the switch from the
bitfields use to the explicit arithmetics and I hadn't caught that one
when verifying correctness of change...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/dl2k.h

index d66c605b4075bc3650f2717af9dc4ea583754fa5..266ec8777ca81797f0dfd92b22875229644e5584 100644 (file)
@@ -388,8 +388,8 @@ enum _mii_mssr {
        MII_MSSR_CFG_RES = 0x4000,
        MII_MSSR_LOCAL_RCV_STATUS = 0x2000,
        MII_MSSR_REMOTE_RCVR = 0x1000,
-       MII_MSSR_LP_1000BT_HD = 0x0800,
-       MII_MSSR_LP_1000BT_FD = 0x0400,
+       MII_MSSR_LP_1000BT_FD = 0x0800,
+       MII_MSSR_LP_1000BT_HD = 0x0400,
        MII_MSSR_IDLE_ERR_COUNT = 0x00ff,
 };