diff options
Diffstat (limited to 'drivers/net/jazzsonic.c')
-rw-r--r-- | drivers/net/jazzsonic.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/jazzsonic.c b/drivers/net/jazzsonic.c index 13847a3e43e5..d3825c8ee994 100644 --- a/drivers/net/jazzsonic.c +++ b/drivers/net/jazzsonic.c | |||
@@ -209,6 +209,7 @@ static int __init jazz_sonic_probe(struct platform_device *pdev) | |||
209 | struct resource *res; | 209 | struct resource *res; |
210 | int err = 0; | 210 | int err = 0; |
211 | int i; | 211 | int i; |
212 | DECLARE_MAC_BUF(mac); | ||
212 | 213 | ||
213 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 214 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
214 | if (!res) | 215 | if (!res) |
@@ -233,13 +234,8 @@ static int __init jazz_sonic_probe(struct platform_device *pdev) | |||
233 | if (err) | 234 | if (err) |
234 | goto out1; | 235 | goto out1; |
235 | 236 | ||
236 | printk("%s: MAC ", dev->name); | 237 | printk("%s: MAC %s IRQ %d\n", |
237 | for (i = 0; i < 6; i++) { | 238 | dev->name, print_mac(mac, dev->dev_addr), dev->irq); |
238 | printk("%2.2x", dev->dev_addr[i]); | ||
239 | if (i < 5) | ||
240 | printk(":"); | ||
241 | } | ||
242 | printk(" IRQ %d\n", dev->irq); | ||
243 | 239 | ||
244 | return 0; | 240 | return 0; |
245 | 241 | ||