aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sunlance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sunlance.c')
-rw-r--r--drivers/net/sunlance.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c
index 7bf5c90b7749..26ade68aeabf 100644
--- a/drivers/net/sunlance.c
+++ b/drivers/net/sunlance.c
@@ -1321,6 +1321,7 @@ static int __devinit sparc_lance_probe_one(struct sbus_dev *sdev,
1321 struct net_device *dev; 1321 struct net_device *dev;
1322 struct lance_private *lp; 1322 struct lance_private *lp;
1323 int i; 1323 int i;
1324 DECLARE_MAC_BUF(mac);
1324 1325
1325 dev = alloc_etherdev(sizeof(struct lance_private) + 8); 1326 dev = alloc_etherdev(sizeof(struct lance_private) + 8);
1326 if (!dev) 1327 if (!dev)
@@ -1478,12 +1479,8 @@ no_link_test:
1478 1479
1479 dev_set_drvdata(&sdev->ofdev.dev, lp); 1480 dev_set_drvdata(&sdev->ofdev.dev, lp);
1480 1481
1481 printk(KERN_INFO "%s: LANCE ", dev->name); 1482 printk(KERN_INFO "%s: LANCE %s\n",
1482 1483 dev->name, print_mac(mac, dev->dev_addr));
1483 for (i = 0; i < 6; i++)
1484 printk("%2.2x%c", dev->dev_addr[i],
1485 i == 5 ? ' ': ':');
1486 printk("\n");
1487 1484
1488 return 0; 1485 return 0;
1489 1486