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

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)