[PATCH 2.6.18 2/6] bnx2: Allow WoL settings on new 5708 chips

2006-06-12 Thread Michael Chan
Allow WOL settings on 5708 B2 and newer chips that have the problem
fixed.

Signed-off-by: Michael Chan [EMAIL PROTECTED]


diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 1a5f7a8..49c09da 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -5642,7 +5642,9 @@ bnx2_init_board(struct pci_dev *pdev, st
}
}
 
-   if (CHIP_NUM(bp) == CHIP_NUM_5708)
+   if ((CHIP_ID(bp) == CHIP_ID_5708_A0) ||
+   (CHIP_ID(bp) == CHIP_ID_5708_B0) ||
+   (CHIP_ID(bp) == CHIP_ID_5708_B1))
bp-flags |= NO_WOL_FLAG;
 
if (CHIP_ID(bp) == CHIP_ID_5706_A0) {


-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2.6.18 2/6] bnx2: Allow WoL settings on new 5708 chips

2006-06-12 Thread David Miller
From: Michael Chan [EMAIL PROTECTED]
Date: Mon, 12 Jun 2006 17:17:08 -0700

 Allow WOL settings on 5708 B2 and newer chips that have the problem
 fixed.
 
 Signed-off-by: Michael Chan [EMAIL PROTECTED]

Applied to net-2.6.18, thanks.
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html