diff options
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/de4x5.c')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/de4x5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c index 4d71f5ae20c8..93583408a325 100644 --- a/drivers/net/ethernet/dec/tulip/de4x5.c +++ b/drivers/net/ethernet/dec/tulip/de4x5.c | |||
@@ -3598,7 +3598,7 @@ de4x5_alloc_rx_buff(struct net_device *dev, int index, int len) | |||
3598 | struct sk_buff *ret; | 3598 | struct sk_buff *ret; |
3599 | u_long i=0, tmp; | 3599 | u_long i=0, tmp; |
3600 | 3600 | ||
3601 | p = dev_alloc_skb(IEEE802_3_SZ + DE4X5_ALIGN + 2); | 3601 | p = netdev_alloc_skb(dev, IEEE802_3_SZ + DE4X5_ALIGN + 2); |
3602 | if (!p) return NULL; | 3602 | if (!p) return NULL; |
3603 | 3603 | ||
3604 | tmp = virt_to_bus(p->data); | 3604 | tmp = virt_to_bus(p->data); |
@@ -3618,7 +3618,7 @@ de4x5_alloc_rx_buff(struct net_device *dev, int index, int len) | |||
3618 | #else | 3618 | #else |
3619 | if (lp->state != OPEN) return (struct sk_buff *)1; /* Fake out the open */ | 3619 | if (lp->state != OPEN) return (struct sk_buff *)1; /* Fake out the open */ |
3620 | 3620 | ||
3621 | p = dev_alloc_skb(len + 2); | 3621 | p = netdev_alloc_skb(dev, len + 2); |
3622 | if (!p) return NULL; | 3622 | if (!p) return NULL; |
3623 | 3623 | ||
3624 | skb_reserve(p, 2); /* Align */ | 3624 | skb_reserve(p, 2); /* Align */ |