diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 7b71387cf93c..d2ff8ee39e84 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c | |||
@@ -2779,7 +2779,9 @@ static void tg3_power_down_phy(struct tg3 *tp, bool do_low_power) | |||
2779 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5700 || | 2779 | if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5700 || |
2780 | GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5704 || | 2780 | GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5704 || |
2781 | (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5780 && | 2781 | (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5780 && |
2782 | (tp->phy_flags & TG3_PHYFLG_MII_SERDES))) | 2782 | (tp->phy_flags & TG3_PHYFLG_MII_SERDES)) || |
2783 | (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 && | ||
2784 | !tp->pci_fn)) | ||
2783 | return; | 2785 | return; |
2784 | 2786 | ||
2785 | if (GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5784_AX || | 2787 | if (GET_CHIP_REV(tp->pci_chip_rev_id) == CHIPREV_5784_AX || |