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

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

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

parent 49afdeb6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -10779,6 +10779,8 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
	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) {
			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;