diff options
Diffstat (limited to 'drivers/net/ibmlana.c')
-rw-r--r-- | drivers/net/ibmlana.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ibmlana.c b/drivers/net/ibmlana.c index f02764725a22..5b5bf9f9861a 100644 --- a/drivers/net/ibmlana.c +++ b/drivers/net/ibmlana.c | |||
@@ -605,7 +605,6 @@ static void irqrx_handler(struct net_device *dev) | |||
605 | skb->ip_summed = CHECKSUM_NONE; | 605 | skb->ip_summed = CHECKSUM_NONE; |
606 | 606 | ||
607 | /* bookkeeping */ | 607 | /* bookkeeping */ |
608 | dev->last_rx = jiffies; | ||
609 | dev->stats.rx_packets++; | 608 | dev->stats.rx_packets++; |
610 | dev->stats.rx_bytes += rda.length; | 609 | dev->stats.rx_bytes += rda.length; |
611 | 610 | ||
@@ -914,7 +913,6 @@ static int __devinit ibmlana_init_one(struct device *kdev) | |||
914 | int base = 0, irq = 0, iobase = 0, memlen = 0; | 913 | int base = 0, irq = 0, iobase = 0, memlen = 0; |
915 | ibmlana_priv *priv; | 914 | ibmlana_priv *priv; |
916 | ibmlana_medium medium; | 915 | ibmlana_medium medium; |
917 | DECLARE_MAC_BUF(mac); | ||
918 | 916 | ||
919 | dev = alloc_etherdev(sizeof(ibmlana_priv)); | 917 | dev = alloc_etherdev(sizeof(ibmlana_priv)); |
920 | if (!dev) | 918 | if (!dev) |
@@ -990,10 +988,10 @@ static int __devinit ibmlana_init_one(struct device *kdev) | |||
990 | /* print config */ | 988 | /* print config */ |
991 | 989 | ||
992 | printk(KERN_INFO "%s: IRQ %d, I/O %#lx, memory %#lx-%#lx, " | 990 | printk(KERN_INFO "%s: IRQ %d, I/O %#lx, memory %#lx-%#lx, " |
993 | "MAC address %s.\n", | 991 | "MAC address %pM.\n", |
994 | dev->name, priv->realirq, dev->base_addr, | 992 | dev->name, priv->realirq, dev->base_addr, |
995 | dev->mem_start, dev->mem_end - 1, | 993 | dev->mem_start, dev->mem_end - 1, |
996 | print_mac(mac, dev->dev_addr)); | 994 | dev->dev_addr); |
997 | printk(KERN_INFO "%s: %s medium\n", dev->name, MediaNames[priv->medium]); | 995 | printk(KERN_INFO "%s: %s medium\n", dev->name, MediaNames[priv->medium]); |
998 | 996 | ||
999 | /* reset board */ | 997 | /* reset board */ |