aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-12-10 20:18:23 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-12-11 05:45:29 -0500
commitfb0c18bd1f61086fcfac90017b59891a356cc288 (patch)
treeee1407c4ed3102f5eb702c0472d23c005e2e1566 /drivers/net/bnx2.c
parent9b3efc0133a807070dbd21254102995b65969965 (diff)
[BNX2]: Add PHY_DIS_EARLY_DAC workaround.
5709 Ax and Bx chips all need this workaround. 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index da767d3d5af5..a4f3832d0a66 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -6685,8 +6685,9 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
6685 } else if (CHIP_NUM(bp) == CHIP_NUM_5706 || 6685 } else if (CHIP_NUM(bp) == CHIP_NUM_5706 ||
6686 CHIP_NUM(bp) == CHIP_NUM_5708) 6686 CHIP_NUM(bp) == CHIP_NUM_5708)
6687 bp->phy_flags |= PHY_CRC_FIX_FLAG; 6687 bp->phy_flags |= PHY_CRC_FIX_FLAG;
6688 else if (CHIP_ID(bp) == CHIP_ID_5709_A0 || 6688 else if (CHIP_NUM(bp) == CHIP_NUM_5709 &&
6689 CHIP_ID(bp) == CHIP_ID_5709_A1) 6689 (CHIP_REV(bp) == CHIP_REV_Ax ||
6690 CHIP_REV(bp) == CHIP_REV_Bx))
6690 bp->phy_flags |= PHY_DIS_EARLY_DAC_FLAG; 6691 bp->phy_flags |= PHY_DIS_EARLY_DAC_FLAG;
6691 6692
6692 if ((CHIP_ID(bp) == CHIP_ID_5708_A0) || 6693 if ((CHIP_ID(bp) == CHIP_ID_5708_A0) ||