aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index 73e9c3dcddde..f51c2c138f10 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -1489,9 +1489,9 @@ static int rhine_rx(struct net_device *dev, int limit)
1489 rp->rx_buf_sz, 1489 rp->rx_buf_sz,
1490 PCI_DMA_FROMDEVICE); 1490 PCI_DMA_FROMDEVICE);
1491 1491
1492 eth_copy_and_sum(skb, 1492 skb_copy_to_linear_data(skb,
1493 rp->rx_skbuff[entry]->data, 1493 rp->rx_skbuff[entry]->data,
1494 pkt_len, 0); 1494 pkt_len);
1495 skb_put(skb, pkt_len); 1495 skb_put(skb, pkt_len);
1496 pci_dma_sync_single_for_device(rp->pdev, 1496 pci_dma_sync_single_for_device(rp->pdev,
1497 rp->rx_skbuff_dma[entry], 1497 rp->rx_skbuff_dma[entry],