diff options
author | Michael Chan <mchan@broadcom.com> | 2006-06-13 07:16:43 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-18 06:30:42 +0200 |
commit | 160882722cb21cbe5cead55cf38a5e70fc3af63e (patch) | |
tree | 76753321be54ae173132df788cece79a12651901 /drivers/net/bnx2.c | |
parent | [BNX2]: Add an rx drop counter (diff) | |
download | linux-160882722cb21cbe5cead55cf38a5e70fc3af63e.tar.xz linux-160882722cb21cbe5cead55cf38a5e70fc3af63e.zip |
[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/bnx2.c')
-rw-r--r-- | drivers/net/bnx2.c | 4 |
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) } } - 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) { |