aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/axnet_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/axnet_cs.c')
-rw-r--r--drivers/net/pcmcia/axnet_cs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index 28eea206766d..de59313d10f5 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -292,6 +292,7 @@ static int axnet_config(struct pcmcia_device *link)
292 cisparse_t parse; 292 cisparse_t parse;
293 int i, j, last_ret, last_fn; 293 int i, j, last_ret, last_fn;
294 u_short buf[64]; 294 u_short buf[64];
295 DECLARE_MAC_BUF(mac);
295 296
296 DEBUG(0, "axnet_config(0x%p)\n", link); 297 DEBUG(0, "axnet_config(0x%p)\n", link);
297 298
@@ -403,11 +404,11 @@ static int axnet_config(struct pcmcia_device *link)
403 404
404 strcpy(info->node.dev_name, dev->name); 405 strcpy(info->node.dev_name, dev->name);
405 406
406 printk(KERN_INFO "%s: Asix AX88%d90: io %#3lx, irq %d, hw_addr ", 407 printk(KERN_INFO "%s: Asix AX88%d90: io %#3lx, irq %d, "
408 "hw_addr %s\n",
407 dev->name, ((info->flags & IS_AX88790) ? 7 : 1), 409 dev->name, ((info->flags & IS_AX88790) ? 7 : 1),
408 dev->base_addr, dev->irq); 410 dev->base_addr, dev->irq,
409 for (i = 0; i < 6; i++) 411 print_mac(mac, dev->dev_addr));
410 printk("%02X%s", dev->dev_addr[i], ((i<5) ? ":" : "\n"));
411 if (info->phy_id != -1) { 412 if (info->phy_id != -1) {
412 DEBUG(0, " MII transceiver at index %d, status %x.\n", info->phy_id, j); 413 DEBUG(0, " MII transceiver at index %d, status %x.\n", info->phy_id, j);
413 } else { 414 } else {