Commit a30a14ca authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr tg3] DMA MRM bit only exists on 5700, 5701

Fixed by David Miller, spotted by Manish Lachwani.
parent 7cca105b
......@@ -6479,8 +6479,11 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
}
#endif
/* Remove this if it causes problems for some boards. */
tp->dma_rwctrl |= DMA_RWCTRL_USE_MEM_READ_MULT;
if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5700 ||
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701) {
/* Remove this if it causes problems for some boards. */
tp->dma_rwctrl |= DMA_RWCTRL_USE_MEM_READ_MULT;
}
tw32(TG3PCI_DMA_RW_CTRL, tp->dma_rwctrl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment