aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/broadcom/tg3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index a528f9a6a893..f0434dfbda9c 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -9086,8 +9086,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
9086 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780 || 9086 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780 ||
9087 tg3_flag(tp, 57765_PLUS)) { 9087 tg3_flag(tp, 57765_PLUS)) {
9088 val = tr32(TG3_RDMA_RSRVCTRL_REG); 9088 val = tr32(TG3_RDMA_RSRVCTRL_REG);
9089 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 || 9089 if (tp->pci_chip_rev_id == CHIPREV_ID_5719_A0) {
9090 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5720) {
9091 val &= ~(TG3_RDMA_RSRVCTRL_TXMRGN_MASK | 9090 val &= ~(TG3_RDMA_RSRVCTRL_TXMRGN_MASK |
9092 TG3_RDMA_RSRVCTRL_FIFO_LWM_MASK | 9091 TG3_RDMA_RSRVCTRL_FIFO_LWM_MASK |
9093 TG3_RDMA_RSRVCTRL_FIFO_HWM_MASK); 9092 TG3_RDMA_RSRVCTRL_FIFO_HWM_MASK);