aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/tg3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 284e99853ed3..db19332a7d87 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -13707,9 +13707,11 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
13707 tp->pcie_cap + PCI_EXP_LNKCTL, 13707 tp->pcie_cap + PCI_EXP_LNKCTL,
13708 &lnkctl); 13708 &lnkctl);
13709 if (lnkctl & PCI_EXP_LNKCTL_CLKREQ_EN) { 13709 if (lnkctl & PCI_EXP_LNKCTL_CLKREQ_EN) {
13710 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906) 13710 if (GET_ASIC_REV(tp->pci_chip_rev_id) ==
13711 ASIC_REV_5906) {
13711 tg3_flag_clear(tp, HW_TSO_2); 13712 tg3_flag_clear(tp, HW_TSO_2);
13712 tg3_flag_clear(tp, TSO_CAPABLE); 13713 tg3_flag_clear(tp, TSO_CAPABLE);
13714 }
13713 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5784 || 13715 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5784 ||
13714 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5761 || 13716 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5761 ||
13715 tp->pci_chip_rev_id == CHIPREV_ID_57780_A0 || 13717 tp->pci_chip_rev_id == CHIPREV_ID_57780_A0 ||