Messages in this thread Patch in this message | | | Date | Tue, 18 May 2004 15:35:38 -0700 | From | Matt Porter <> | Subject | [PATCH] Fix e100 for non coherent arches |
| |
Corrects pci_map_single() direction arg.
-Matt
===== drivers/net/e100.c 1.11 vs edited ===== --- 1.11/drivers/net/e100.c Tue Apr 20 15:55:32 2004 +++ edited/drivers/net/e100.c Tue May 18 15:25:01 2004 @@ -1397,7 +1397,7 @@ skb_reserve(rx->skb, rx_offset); memcpy(rx->skb->data, &nic->blank_rfd, sizeof(struct rfd)); rx->dma_addr = pci_map_single(nic->pdev, rx->skb->data, - RFD_BUF_LEN, PCI_DMA_FROMDEVICE); + RFD_BUF_LEN, PCI_DMA_BIDIRECTIONAL); /* Link the RFD to end of RFA by linking previous RFD to * this one, and clearing EL bit of previous. */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |