diff options
Diffstat (limited to 'drivers/net/arm/ether3.c')
-rw-r--r-- | drivers/net/arm/ether3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/arm/ether3.c b/drivers/net/arm/ether3.c index 4a914748c0e4..67e96ae85035 100644 --- a/drivers/net/arm/ether3.c +++ b/drivers/net/arm/ether3.c | |||
@@ -775,7 +775,8 @@ ether3_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
775 | { | 775 | { |
776 | const struct ether3_data *data = id->data; | 776 | const struct ether3_data *data = id->data; |
777 | struct net_device *dev; | 777 | struct net_device *dev; |
778 | int i, bus_type, ret; | 778 | int bus_type, ret; |
779 | DECLARE_MAC_BUF(mac); | ||
779 | 780 | ||
780 | ether3_banner(); | 781 | ether3_banner(); |
781 | 782 | ||
@@ -858,9 +859,8 @@ ether3_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
858 | if (ret) | 859 | if (ret) |
859 | goto free; | 860 | goto free; |
860 | 861 | ||
861 | printk("%s: %s in slot %d, ", dev->name, data->name, ec->slot_no); | 862 | printk("%s: %s in slot %d, %s\n", |
862 | for (i = 0; i < 6; i++) | 863 | dev->name, data->name, ec->slot_no, print_mac(mac, dev->dev_addr)); |
863 | printk("%2.2x%c", dev->dev_addr[i], i == 5 ? '\n' : ':'); | ||
864 | 864 | ||
865 | ecard_set_drvdata(ec, dev); | 865 | ecard_set_drvdata(ec, dev); |
866 | return 0; | 866 | return 0; |