diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index b26a57782939..98ca0d20d206 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -7002,8 +7002,7 @@ static int tg3_chip_reset(struct tg3 *tp) | |||
7002 | * Older PCIe devices only support the 128 byte | 7002 | * Older PCIe devices only support the 128 byte |
7003 | * MPS setting. Enforce the restriction. | 7003 | * MPS setting. Enforce the restriction. |
7004 | */ | 7004 | */ |
7005 | if (!(tp->tg3_flags & TG3_FLAG_CPMU_PRESENT) || | 7005 | if (!(tp->tg3_flags & TG3_FLAG_CPMU_PRESENT)) |
7006 | (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5784)) | ||
7007 | val16 &= ~PCI_EXP_DEVCTL_PAYLOAD; | 7006 | val16 &= ~PCI_EXP_DEVCTL_PAYLOAD; |
7008 | pci_write_config_word(tp->pdev, | 7007 | pci_write_config_word(tp->pdev, |
7009 | tp->pcie_cap + PCI_EXP_DEVCTL, | 7008 | tp->pcie_cap + PCI_EXP_DEVCTL, |