aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r--drivers/net/gianfar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 5a1a1165b48c..0db5e6fabe73 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -170,6 +170,7 @@ static int gfar_probe(struct platform_device *pdev)
170 struct resource *r; 170 struct resource *r;
171 int idx; 171 int idx;
172 int err = 0; 172 int err = 0;
173 DECLARE_MAC_BUF(mac);
173 174
174 einfo = (struct gianfar_platform_data *) pdev->dev.platform_data; 175 einfo = (struct gianfar_platform_data *) pdev->dev.platform_data;
175 176
@@ -356,10 +357,8 @@ static int gfar_probe(struct platform_device *pdev)
356 gfar_init_sysfs(dev); 357 gfar_init_sysfs(dev);
357 358
358 /* Print out the device info */ 359 /* Print out the device info */
359 printk(KERN_INFO DEVICE_NAME, dev->name); 360 printk(KERN_INFO DEVICE_NAME "%s\n",
360 for (idx = 0; idx < 6; idx++) 361 dev->name, print_mac(mac, dev->dev_addr));
361 printk("%2.2x%c", dev->dev_addr[idx], idx == 5 ? ' ' : ':');
362 printk("\n");
363 362
364 /* Even more device info helps when determining which kernel */ 363 /* Even more device info helps when determining which kernel */
365 /* provided which set of benchmarks. */ 364 /* provided which set of benchmarks. */