diff options
Diffstat (limited to 'drivers/net/pcmcia/3c574_cs.c')
-rw-r--r-- | drivers/net/pcmcia/3c574_cs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c index 08c4dd896077..e5cb6b1f0ebd 100644 --- a/drivers/net/pcmcia/3c574_cs.c +++ b/drivers/net/pcmcia/3c574_cs.c | |||
@@ -345,7 +345,6 @@ static int tc574_config(struct pcmcia_device *link) | |||
345 | __be16 *phys_addr; | 345 | __be16 *phys_addr; |
346 | char *cardname; | 346 | char *cardname; |
347 | __u32 config; | 347 | __u32 config; |
348 | DECLARE_MAC_BUF(mac); | ||
349 | 348 | ||
350 | phys_addr = (__be16 *)dev->dev_addr; | 349 | phys_addr = (__be16 *)dev->dev_addr; |
351 | 350 | ||
@@ -463,9 +462,9 @@ static int tc574_config(struct pcmcia_device *link) | |||
463 | strcpy(lp->node.dev_name, dev->name); | 462 | strcpy(lp->node.dev_name, dev->name); |
464 | 463 | ||
465 | printk(KERN_INFO "%s: %s at io %#3lx, irq %d, " | 464 | printk(KERN_INFO "%s: %s at io %#3lx, irq %d, " |
466 | "hw_addr %s.\n", | 465 | "hw_addr %pM.\n", |
467 | dev->name, cardname, dev->base_addr, dev->irq, | 466 | dev->name, cardname, dev->base_addr, dev->irq, |
468 | print_mac(mac, dev->dev_addr)); | 467 | dev->dev_addr); |
469 | printk(" %dK FIFO split %s Rx:Tx, %sMII interface.\n", | 468 | printk(" %dK FIFO split %s Rx:Tx, %sMII interface.\n", |
470 | 8 << config & Ram_size, | 469 | 8 << config & Ram_size, |
471 | ram_split[(config & Ram_split) >> Ram_split_shift], | 470 | ram_split[(config & Ram_split) >> Ram_split_shift], |
@@ -1062,7 +1061,6 @@ static int el3_rx(struct net_device *dev, int worklimit) | |||
1062 | ((pkt_len+3)>>2)); | 1061 | ((pkt_len+3)>>2)); |
1063 | skb->protocol = eth_type_trans(skb, dev); | 1062 | skb->protocol = eth_type_trans(skb, dev); |
1064 | netif_rx(skb); | 1063 | netif_rx(skb); |
1065 | dev->last_rx = jiffies; | ||
1066 | dev->stats.rx_packets++; | 1064 | dev->stats.rx_packets++; |
1067 | dev->stats.rx_bytes += pkt_len; | 1065 | dev->stats.rx_bytes += pkt_len; |
1068 | } else { | 1066 | } else { |