diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-02-01 02:05:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-02-01 04:54:03 -0500 |
commit | 9c52fab2f187636b39afb0dcf562872ed42ab608 (patch) | |
tree | 95dc4da467f543dfde86f898105bef9ff82cee82 /drivers/net/dl2k.h | |
parent | 13f09b95a82c46ed608d057b22e0dd18ebfff22a (diff) |
Fix dl2k constants
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>
Diffstat (limited to 'drivers/net/dl2k.h')
-rw-r--r-- | drivers/net/dl2k.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dl2k.h b/drivers/net/dl2k.h index d66c605b4075..266ec8777ca8 100644 --- a/drivers/net/dl2k.h +++ b/drivers/net/dl2k.h | |||
@@ -388,8 +388,8 @@ enum _mii_mssr { | |||
388 | MII_MSSR_CFG_RES = 0x4000, | 388 | MII_MSSR_CFG_RES = 0x4000, |
389 | MII_MSSR_LOCAL_RCV_STATUS = 0x2000, | 389 | MII_MSSR_LOCAL_RCV_STATUS = 0x2000, |
390 | MII_MSSR_REMOTE_RCVR = 0x1000, | 390 | MII_MSSR_REMOTE_RCVR = 0x1000, |
391 | MII_MSSR_LP_1000BT_HD = 0x0800, | 391 | MII_MSSR_LP_1000BT_FD = 0x0800, |
392 | MII_MSSR_LP_1000BT_FD = 0x0400, | 392 | MII_MSSR_LP_1000BT_HD = 0x0400, |
393 | MII_MSSR_IDLE_ERR_COUNT = 0x00ff, | 393 | MII_MSSR_IDLE_ERR_COUNT = 0x00ff, |
394 | }; | 394 | }; |
395 | 395 | ||