mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 23:46:46 +07:00
tg3: Expand EEE support for all 5717 B0
This chip supports Energy Efficient Ethernet. The existing code only supports a smaller set of devices with 5718 PCI ID. Expand support for all devices with the same 5717 B0 chip ID. Signed-off-by: Michael Chan <mchan@broadocm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d3f677afb8
commit
d240d210f5
@ -14514,7 +14514,7 @@ static int tg3_phy_probe(struct tg3 *tp)
|
|||||||
(GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 ||
|
(GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 ||
|
||||||
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5720 ||
|
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5720 ||
|
||||||
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5762 ||
|
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5762 ||
|
||||||
(tp->pdev->device == TG3PCI_DEVICE_TIGON3_5718 &&
|
(GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 &&
|
||||||
tp->pci_chip_rev_id != CHIPREV_ID_5717_A0) ||
|
tp->pci_chip_rev_id != CHIPREV_ID_5717_A0) ||
|
||||||
(GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
|
(GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57765 &&
|
||||||
tp->pci_chip_rev_id != CHIPREV_ID_57765_A0)))
|
tp->pci_chip_rev_id != CHIPREV_ID_57765_A0)))
|
||||||
|
Loading…
Reference in New Issue
Block a user