aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/fec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r--drivers/net/fec.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 4419c3cee995..2b5782056dda 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -2635,6 +2635,7 @@ static int __init fec_enet_module_init(void)
2635{ 2635{
2636 struct net_device *dev; 2636 struct net_device *dev;
2637 int i, j, err; 2637 int i, j, err;
2638 DECLARE_MAC_BUF(mac);
2638 2639
2639 printk("FEC ENET Version 0.2\n"); 2640 printk("FEC ENET Version 0.2\n");
2640 2641
@@ -2653,10 +2654,8 @@ static int __init fec_enet_module_init(void)
2653 return -EIO; 2654 return -EIO;
2654 } 2655 }
2655 2656
2656 printk("%s: ethernet ", dev->name); 2657 printk("%s: ethernet %s\n",
2657 for (j = 0; (j < 5); j++) 2658 dev->name, print_mac(mac, dev->dev_addr));
2658 printk("%02x:", dev->dev_addr[j]);
2659 printk("%02x\n", dev->dev_addr[5]);
2660 } 2659 }
2661 return 0; 2660 return 0;
2662} 2661}