* [PATCH] Fix e100 for non coherent arches
@ 2004-05-18 22:35 Matt Porter
0 siblings, 0 replies; only message in thread
From: Matt Porter @ 2004-05-18 22:35 UTC (permalink / raw)
To: john.ronciak, ganesh.venkatesan, scott.feldman; +Cc: jgarzik, linux-kernel
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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-18 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 22:35 [PATCH] Fix e100 for non coherent arches Matt Porter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox