patch-2.4.23 linux-2.4.23/drivers/net/pcnet32.c
Next file: linux-2.4.23/drivers/net/pppoe.c
Previous file: linux-2.4.23/drivers/net/pcmcia/xircom_cb.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/net/pcnet32.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
diff -urN linux-2.4.22/drivers/net/pcnet32.c linux-2.4.23/drivers/net/pcnet32.c
@@ -1345,6 +1345,10 @@
if (!rx_in_place) {
skb_reserve(skb,2); /* 16 byte align */
skb_put(skb,pkt_len); /* Make room */
+ pci_dma_sync_single(lp->pci_dev,
+ lp->rx_dma_addr[entry],
+ PKT_BUF_SZ,
+ PCI_DMA_FROMDEVICE);
eth_copy_and_sum(skb,
(unsigned char *)(lp->rx_skbuff[entry]->tail),
pkt_len,0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)