diff options
Diffstat (limited to 'drivers/net/tulip/xircom_tulip_cb.c')
-rw-r--r-- | drivers/net/tulip/xircom_tulip_cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tulip/xircom_tulip_cb.c b/drivers/net/tulip/xircom_tulip_cb.c index f64172927377..f984fbde8b23 100644 --- a/drivers/net/tulip/xircom_tulip_cb.c +++ b/drivers/net/tulip/xircom_tulip_cb.c | |||
@@ -1242,8 +1242,8 @@ xircom_rx(struct net_device *dev) | |||
1242 | && (skb = dev_alloc_skb(pkt_len + 2)) != NULL) { | 1242 | && (skb = dev_alloc_skb(pkt_len + 2)) != NULL) { |
1243 | skb_reserve(skb, 2); /* 16 byte align the IP header */ | 1243 | skb_reserve(skb, 2); /* 16 byte align the IP header */ |
1244 | #if ! defined(__alpha__) | 1244 | #if ! defined(__alpha__) |
1245 | eth_copy_and_sum(skb, bus_to_virt(tp->rx_ring[entry].buffer1), | 1245 | skb_copy_to_linear_data(skb, bus_to_virt(tp->rx_ring[entry].buffer1), |
1246 | pkt_len, 0); | 1246 | pkt_len); |
1247 | skb_put(skb, pkt_len); | 1247 | skb_put(skb, pkt_len); |
1248 | #else | 1248 | #else |
1249 | memcpy(skb_put(skb, pkt_len), | 1249 | memcpy(skb_put(skb, pkt_len), |