Commit 22427168 authored by David S. Miller's avatar David S. Miller

[TG3]: Fix tg3_phy_reset_5703_4_5 chip rev test.

parent e8768d14
...@@ -666,9 +666,9 @@ static int tg3_phy_reset(struct tg3 *tp, int force) ...@@ -666,9 +666,9 @@ static int tg3_phy_reset(struct tg3 *tp, int force)
if ((phy_status & BMSR_LSTATUS) != 0 && (force == 0)) if ((phy_status & BMSR_LSTATUS) != 0 && (force == 0))
return 0; return 0;
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 ||
GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5705) { GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5705) {
err = tg3_phy_reset_5703_4_5(tp); err = tg3_phy_reset_5703_4_5(tp);
if (err) if (err)
return err; return err;
......
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