diff options
Diffstat (limited to 'drivers/net/arm/ether1.c')
-rw-r--r-- | drivers/net/arm/ether1.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/arm/ether1.c b/drivers/net/arm/ether1.c index 6ec8a587c1d2..3bb9e293e2ef 100644 --- a/drivers/net/arm/ether1.c +++ b/drivers/net/arm/ether1.c | |||
@@ -996,6 +996,7 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
996 | { | 996 | { |
997 | struct net_device *dev; | 997 | struct net_device *dev; |
998 | int i, ret = 0; | 998 | int i, ret = 0; |
999 | DECLARE_MAC_BUF(mac); | ||
999 | 1000 | ||
1000 | ether1_banner(); | 1001 | ether1_banner(); |
1001 | 1002 | ||
@@ -1043,12 +1044,9 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
1043 | if (ret) | 1044 | if (ret) |
1044 | goto free; | 1045 | goto free; |
1045 | 1046 | ||
1046 | printk(KERN_INFO "%s: ether1 in slot %d, ", | 1047 | printk(KERN_INFO "%s: ether1 in slot %d, %s\n", |
1047 | dev->name, ec->slot_no); | 1048 | dev->name, ec->slot_no, print_mac(mac, dev->dev_addr)); |
1048 | 1049 | ||
1049 | for (i = 0; i < 6; i++) | ||
1050 | printk ("%2.2x%c", dev->dev_addr[i], i == 5 ? '\n' : ':'); | ||
1051 | |||
1052 | ecard_set_drvdata(ec, dev); | 1050 | ecard_set_drvdata(ec, dev); |
1053 | return 0; | 1051 | return 0; |
1054 | 1052 | ||