aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/seeq
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/seeq')
-rw-r--r--drivers/net/ethernet/seeq/ether3.c2
-rw-r--r--drivers/net/ethernet/seeq/seeq8005.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/seeq/ether3.c b/drivers/net/ethernet/seeq/ether3.c
index 893c880dadf0..7b819bd8c416 100644
--- a/drivers/net/ethernet/seeq/ether3.c
+++ b/drivers/net/ethernet/seeq/ether3.c
@@ -643,7 +643,7 @@ if (next_ptr < RX_START || next_ptr >= RX_END) {
643 if (next_ptr <= this_ptr) 643 if (next_ptr <= this_ptr)
644 length += RX_END - RX_START; 644 length += RX_END - RX_START;
645 645
646 skb = dev_alloc_skb(length + 2); 646 skb = netdev_alloc_skb(dev, length + 2);
647 if (skb) { 647 if (skb) {
648 unsigned char *buf; 648 unsigned char *buf;
649 649
diff --git a/drivers/net/ethernet/seeq/seeq8005.c b/drivers/net/ethernet/seeq/seeq8005.c
index 60561451789b..798990774446 100644
--- a/drivers/net/ethernet/seeq/seeq8005.c
+++ b/drivers/net/ethernet/seeq/seeq8005.c
@@ -548,7 +548,7 @@ static void seeq8005_rx(struct net_device *dev)
548 struct sk_buff *skb; 548 struct sk_buff *skb;
549 unsigned char *buf; 549 unsigned char *buf;
550 550
551 skb = dev_alloc_skb(pkt_len); 551 skb = netdev_alloc_skb(dev, pkt_len);
552 if (skb == NULL) { 552 if (skb == NULL) {
553 printk("%s: Memory squeeze, dropping packet.\n", dev->name); 553 printk("%s: Memory squeeze, dropping packet.\n", dev->name);
554 dev->stats.rx_dropped++; 554 dev->stats.rx_dropped++;