From: Michael Chan Date: Tue, 13 Jun 2006 05:16:43 +0000 (-0700) Subject: [BNX2]: Allow WoL settings on new 5708 chips X-Git-Tag: v2.6.18-rc1~1111^2~19 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=160882722cb21cbe5cead55cf38a5e70fc3af63e;p=linux-2.6 [BNX2]: Allow WoL settings on new 5708 chips Allow WOL settings on 5708 B2 and newer chips that have the problem fixed. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index 7ffda643c8..031455a8d1 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -5642,7 +5642,9 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) } } - 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) {