aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-06-13 01:16:43 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-18 00:30:42 -0400
commit160882722cb21cbe5cead55cf38a5e70fc3af63e (patch)
tree76753321be54ae173132df788cece79a12651901 /drivers/net
parentcea94db9b496d7fe25bbd3ebd0f24afaac2069d5 (diff)
[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 <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-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) {