Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16088272 authored by Michael Chan's avatar Michael Chan Committed by David S. Miller
Browse files

[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: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cea94db9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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) {