Skip to contentSkip to conversation

bnx2: Allow WoL settings on new 5708 chips

PATCH Applied Michael Chan 2 participants 2 messages Jun 13, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

Allow WOL settings on 5708 B2 and newer chips that have the problem fixed.

drivers/net/bnx2.c +3 -1
index 1a5f7a8..49c09da 100644
@@ -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) {