Commit 175aee81 authored by David S. Miller's avatar David S. Miller

[TG3]: All 5705 chips need PHY reset on link-down.

parent a06704cd
...@@ -1253,7 +1253,7 @@ static int tg3_setup_copper_phy(struct tg3 *tp, int force_reset) ...@@ -1253,7 +1253,7 @@ static int tg3_setup_copper_phy(struct tg3 *tp, int force_reset)
*/ */
if ((GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5703 || if ((GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5703 ||
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5704 || GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5704 ||
tp->pci_chip_rev_id == CHIPREV_ID_5705_A0) && GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705) &&
netif_carrier_ok(tp->dev)) { netif_carrier_ok(tp->dev)) {
tg3_readphy(tp, MII_BMSR, &bmsr); tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr); tg3_readphy(tp, MII_BMSR, &bmsr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment