* [PATCH 1/3][BNX2]: Add PHY_DIS_EARLY_DAC workaround.
@ 2007-12-09 21:16 Michael Chan
2007-12-11 1:19 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Michael Chan @ 2007-12-09 21:16 UTC (permalink / raw)
To: davem; +Cc: netdev
[BNX2]: Add PHY_DIS_EARLY_DAC workaround.
5709 Ax and Bx chips all need this workaround.
Signed-off-by: Michael Chan <mchan@broadcom.com>
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index da767d3..a4f3832 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)
} else if (CHIP_NUM(bp) == CHIP_NUM_5706 ||
CHIP_NUM(bp) == CHIP_NUM_5708)
bp->phy_flags |= PHY_CRC_FIX_FLAG;
- else if (CHIP_ID(bp) == CHIP_ID_5709_A0 ||
- CHIP_ID(bp) == CHIP_ID_5709_A1)
+ else if (CHIP_NUM(bp) == CHIP_NUM_5709 &&
+ (CHIP_REV(bp) == CHIP_REV_Ax ||
+ CHIP_REV(bp) == CHIP_REV_Bx))
bp->phy_flags |= PHY_DIS_EARLY_DAC_FLAG;
if ((CHIP_ID(bp) == CHIP_ID_5708_A0) ||
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/3][BNX2]: Add PHY_DIS_EARLY_DAC workaround.
2007-12-09 21:16 [PATCH 1/3][BNX2]: Add PHY_DIS_EARLY_DAC workaround Michael Chan
@ 2007-12-11 1:19 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-12-11 1:19 UTC (permalink / raw)
To: mchan; +Cc: netdev
From: "Michael Chan" <mchan@broadcom.com>
Date: Sun, 09 Dec 2007 13:16:48 -0800
> [BNX2]: Add PHY_DIS_EARLY_DAC workaround.
>
> 5709 Ax and Bx chips all need this workaround.
>
> Signed-off-by: Michael Chan <mchan@broadcom.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-11 1:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-09 21:16 [PATCH 1/3][BNX2]: Add PHY_DIS_EARLY_DAC workaround Michael Chan
2007-12-11 1:19 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).