diff options
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r-- | drivers/net/via-rhine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c index adea290a9d5e..565f6cc185ce 100644 --- a/drivers/net/via-rhine.c +++ b/drivers/net/via-rhine.c | |||
@@ -1492,9 +1492,9 @@ static int rhine_rx(struct net_device *dev, int limit) | |||
1492 | rp->rx_buf_sz, | 1492 | rp->rx_buf_sz, |
1493 | PCI_DMA_FROMDEVICE); | 1493 | PCI_DMA_FROMDEVICE); |
1494 | 1494 | ||
1495 | eth_copy_and_sum(skb, | 1495 | skb_copy_to_linear_data(skb, |
1496 | rp->rx_skbuff[entry]->data, | 1496 | rp->rx_skbuff[entry]->data, |
1497 | pkt_len, 0); | 1497 | pkt_len); |
1498 | skb_put(skb, pkt_len); | 1498 | skb_put(skb, pkt_len); |
1499 | pci_dma_sync_single_for_device(rp->pdev, | 1499 | pci_dma_sync_single_for_device(rp->pdev, |
1500 | rp->rx_skbuff_dma[entry], | 1500 | rp->rx_skbuff_dma[entry], |