aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ne2.c')
-rw-r--r--drivers/net/ne2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ne2.c b/drivers/net/ne2.c
index 332df75a9ab6..6f8f32603466 100644
--- a/drivers/net/ne2.c
+++ b/drivers/net/ne2.c
@@ -302,7 +302,6 @@ out:
302static int ne2_procinfo(char *buf, int slot, struct net_device *dev) 302static int ne2_procinfo(char *buf, int slot, struct net_device *dev)
303{ 303{
304 int len=0; 304 int len=0;
305 DECLARE_MAC_BUF(mac);
306 305
307 len += sprintf(buf+len, "The NE/2 Ethernet Adapter\n" ); 306 len += sprintf(buf+len, "The NE/2 Ethernet Adapter\n" );
308 len += sprintf(buf+len, "Driver written by Wim Dumon "); 307 len += sprintf(buf+len, "Driver written by Wim Dumon ");
@@ -313,7 +312,7 @@ static int ne2_procinfo(char *buf, int slot, struct net_device *dev)
313 len += sprintf(buf+len, "Based on the original NE2000 drivers\n" ); 312 len += sprintf(buf+len, "Based on the original NE2000 drivers\n" );
314 len += sprintf(buf+len, "Base IO: %#x\n", (unsigned int)dev->base_addr); 313 len += sprintf(buf+len, "Base IO: %#x\n", (unsigned int)dev->base_addr);
315 len += sprintf(buf+len, "IRQ : %d\n", dev->irq); 314 len += sprintf(buf+len, "IRQ : %d\n", dev->irq);
316 len += sprintf(buf+len, "HW addr : %s\n", print_mac(mac, dev->dev_addr)); 315 len += sprintf(buf+len, "HW addr : %pM\n", dev->dev_addr);
317 316
318 return len; 317 return len;
319} 318}
@@ -326,7 +325,6 @@ static int __init ne2_probe1(struct net_device *dev, int slot)
326 const char *name = "NE/2"; 325 const char *name = "NE/2";
327 int start_page, stop_page; 326 int start_page, stop_page;
328 static unsigned version_printed; 327 static unsigned version_printed;
329 DECLARE_MAC_BUF(mac);
330 328
331 if (ei_debug && version_printed++ == 0) 329 if (ei_debug && version_printed++ == 0)
332 printk(version); 330 printk(version);
@@ -469,7 +467,7 @@ static int __init ne2_probe1(struct net_device *dev, int slot)
469 for(i = 0; i < ETHER_ADDR_LEN; i++) 467 for(i = 0; i < ETHER_ADDR_LEN; i++)
470 dev->dev_addr[i] = SA_prom[i]; 468 dev->dev_addr[i] = SA_prom[i];
471 469
472 printk(" %s\n", print_mac(mac, dev->dev_addr)); 470 printk(" %pM\n", dev->dev_addr);
473 471
474 printk("%s: %s found at %#x, using IRQ %d.\n", 472 printk("%s: %s found at %#x, using IRQ %d.\n",
475 dev->name, name, base_addr, dev->irq); 473 dev->name, name, base_addr, dev->irq);