Skip to contentSkip to conversation

: 5722/5756 don't need PHY jitter workaround.

PATCH Applied Michael Chan 2 participants 2 messages Feb 13, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/8 : 5722/5756 don't need PHY jitter workaround.

[TG3]: 5722/5756 don't need PHY jitter workaround.

drivers/net/tg3.c +3 -1
index 2df343f..fc94b19 100644
@@ -10779,7 +10779,9 @@ static int __devinit tg3_get_invariants(
 	if (tp->tg3_flags2 & TG3_FLG2_5705_PLUS) {
 		if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5755 ||
 		    GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5787) {
-			tp->tg3_flags2 |= TG3_FLG2_PHY_JITTER_BUG;
+			if (tp->pdev->device != PCI_DEVICE_ID_TIGON3_5756 &&
+			    tp->pdev->device != PCI_DEVICE_ID_TIGON3_5722)
+				tp->tg3_flags2 |= TG3_FLG2_PHY_JITTER_BUG;
 			if (tp->pdev->device == PCI_DEVICE_ID_TIGON3_5755M)
 				tp->tg3_flags2 |= TG3_FLG2_PHY_ADJUST_TRIM;
 		} else if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5906)