aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 7ffda643c802..031455a8d1dd 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)
5642 } 5642 }
5643 } 5643 }
5644 5644
5645 if (CHIP_NUM(bp) == CHIP_NUM_5708) 5645 if ((CHIP_ID(bp) == CHIP_ID_5708_A0) ||
5646 (CHIP_ID(bp) == CHIP_ID_5708_B0) ||
5647 (CHIP_ID(bp) == CHIP_ID_5708_B1))
5646 bp->flags |= NO_WOL_FLAG; 5648 bp->flags |= NO_WOL_FLAG;
5647 5649
5648 if (CHIP_ID(bp) == CHIP_ID_5706_A0) { 5650 if (CHIP_ID(bp) == CHIP_ID_5706_A0) {