aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2012-02-13 10:20:08 -0500
committerDavid S. Miller <davem@davemloft.net>2012-02-13 20:45:04 -0500
commit3906969189a409e590a51b18c86a92d0506c9372 (patch)
tree376b1d65242db8f0d9390aafc65d2f2671eb30f3
parent16dc459cee56cef26014462180bfb9b14a38a96b (diff)
tg3: Disable new DMA engine for 57766
A bug was found in the new DMA engine for the 57766. This patch disables it, which causes the device to fallback to the old DMA engine. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/broadcom/tg3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
index d418f954c72d..0a765f109cc1 100644
--- a/drivers/net/ethernet/broadcom/tg3.c
+++ b/drivers/net/ethernet/broadcom/tg3.c
@@ -8896,9 +8896,6 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
8896 if (tg3_flag(tp, PCI_EXPRESS)) 8896 if (tg3_flag(tp, PCI_EXPRESS))
8897 rdmac_mode |= RDMAC_MODE_FIFO_LONG_BURST; 8897 rdmac_mode |= RDMAC_MODE_FIFO_LONG_BURST;
8898 8898
8899 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57766)
8900 rdmac_mode |= RDMAC_MODE_JMB_2K_MMRR;
8901
8902 if (tg3_flag(tp, HW_TSO_1) || 8899 if (tg3_flag(tp, HW_TSO_1) ||
8903 tg3_flag(tp, HW_TSO_2) || 8900 tg3_flag(tp, HW_TSO_2) ||
8904 tg3_flag(tp, HW_TSO_3)) 8901 tg3_flag(tp, HW_TSO_3))
@@ -14190,8 +14187,6 @@ static int __devinit tg3_get_invariants(struct tg3 *tp)
14190 14187
14191 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) 14188 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719)
14192 tp->dma_limit = TG3_TX_BD_DMA_MAX_4K; 14189 tp->dma_limit = TG3_TX_BD_DMA_MAX_4K;
14193 else if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57766)
14194 tp->dma_limit = TG3_TX_BD_DMA_MAX_2K;
14195 14190
14196 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 || 14191 if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5717 ||
14197 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 || 14192 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719 ||