aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 693f36e94dab..a72d0314ca78 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -8198,6 +8198,9 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
8198 ~DMA_RWCTRL_DIS_CACHE_ALIGNMENT; 8198 ~DMA_RWCTRL_DIS_CACHE_ALIGNMENT;
8199 if (tp->pci_chip_rev_id == CHIPREV_ID_57765_A0) 8199 if (tp->pci_chip_rev_id == CHIPREV_ID_57765_A0)
8200 val &= ~DMA_RWCTRL_CRDRDR_RDMA_MRRS_MSK; 8200 val &= ~DMA_RWCTRL_CRDRDR_RDMA_MRRS_MSK;
8201 if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_57765 &&
8202 GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5717)
8203 val |= DMA_RWCTRL_TAGGED_STAT_WA;
8201 tw32(TG3PCI_DMA_RW_CTRL, val | tp->dma_rwctrl); 8204 tw32(TG3PCI_DMA_RW_CTRL, val | tp->dma_rwctrl);
8202 } else if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5784 && 8205 } else if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5784 &&
8203 GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5761) { 8206 GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5761) {