[patch 08/38] Fix dl2k constants

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Friday, February 22, 2008 - 5:30 pm

2.6.24-stable review patch.  If anyone has any objections, please let us
know.

------------------
 

patch 9c52fab2f187636b39afb0dcf562872ed42ab608 in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/net/dl2k.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/net/dl2k.h
+++ b/drivers/net/dl2k.h
@@ -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,
 };
 

-- 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 00/38] 2.6.24-stable review, Greg KH, (Fri Feb 22, 5:29 pm)
[patch 08/38] Fix dl2k constants, Greg KH, (Fri Feb 22, 5:30 pm)
[patch 11/38] TC: oops in em_meta, Greg KH, (Fri Feb 22, 5:30 pm)
[patch 32/38] USB: fix pm counter leak in usblp, Greg KH, (Fri Feb 22, 5:31 pm)
[patch 33/38] SCSI: gdth: scan for scsi devices, Greg KH, (Fri Feb 22, 5:31 pm)
Re: [patch 34/38] kbuild: allow -fstack-protector to take ..., Arjan van de Ven, (Fri Feb 22, 5:46 pm)
Re: [patch 33/38] SCSI: gdth: scan for scsi devices, Boaz Harrosh, (Fri Feb 22, 8:02 pm)
Re: [patch 33/38] SCSI: gdth: scan for scsi devices, James Bottomley, (Fri Feb 22, 9:15 pm)
Re: [patch 00/38] 2.6.24-stable review, Chuck Ebbert, (Sat Feb 23, 9:56 am)
Re: [patch 00/38] 2.6.24-stable review, Uli Luckas, (Sun Feb 24, 7:55 am)