diff options
Diffstat (limited to 'drivers/net/de600.c')
-rw-r--r-- | drivers/net/de600.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/de600.c b/drivers/net/de600.c index 421c2ca49711..cb849b091f98 100644 --- a/drivers/net/de600.c +++ b/drivers/net/de600.c | |||
@@ -384,6 +384,7 @@ static struct net_device * __init de600_probe(void) | |||
384 | int i; | 384 | int i; |
385 | struct net_device *dev; | 385 | struct net_device *dev; |
386 | int err; | 386 | int err; |
387 | DECLARE_MAC_BUF(mac); | ||
387 | 388 | ||
388 | dev = alloc_etherdev(0); | 389 | dev = alloc_etherdev(0); |
389 | if (!dev) | 390 | if (!dev) |
@@ -438,10 +439,7 @@ static struct net_device * __init de600_probe(void) | |||
438 | goto out1; | 439 | goto out1; |
439 | } | 440 | } |
440 | 441 | ||
441 | printk(", Ethernet Address: %02X", dev->dev_addr[0]); | 442 | printk(", Ethernet Address: %s\n", print_mac(mac, dev->dev_addr)); |
442 | for (i = 1; i < ETH_ALEN; i++) | ||
443 | printk(":%02X",dev->dev_addr[i]); | ||
444 | printk("\n"); | ||
445 | 443 | ||
446 | dev->open = de600_open; | 444 | dev->open = de600_open; |
447 | dev->stop = de600_close; | 445 | dev->stop = de600_close; |