aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/fmvj18x_cs.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-10-03 20:59:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:42 -0400
commit0795af5729b18218767fab27c44b1384f72dc9ad (patch)
tree67c16df84aa6ec219340b8ea1b5cfb0e8150a216 /drivers/net/pcmcia/fmvj18x_cs.c
parent95ea36275f3c9a1d3d04c217b4b576c657c4e70e (diff)
[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
This is nicer than the MAC_FMT stuff. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pcmcia/fmvj18x_cs.c')
-rw-r--r--drivers/net/pcmcia/fmvj18x_cs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c
index 7f29e95a0644..62844677c784 100644
--- a/drivers/net/pcmcia/fmvj18x_cs.c
+++ b/drivers/net/pcmcia/fmvj18x_cs.c
@@ -346,6 +346,7 @@ static int fmvj18x_config(struct pcmcia_device *link)
346 cardtype_t cardtype; 346 cardtype_t cardtype;
347 char *card_name = "unknown"; 347 char *card_name = "unknown";
348 u_char *node_id; 348 u_char *node_id;
349 DECLARE_MAC_BUF(mac);
349 350
350 DEBUG(0, "fmvj18x_config(0x%p)\n", link); 351 DEBUG(0, "fmvj18x_config(0x%p)\n", link);
351 352
@@ -533,11 +534,10 @@ static int fmvj18x_config(struct pcmcia_device *link)
533 strcpy(lp->node.dev_name, dev->name); 534 strcpy(lp->node.dev_name, dev->name);
534 535
535 /* print current configuration */ 536 /* print current configuration */
536 printk(KERN_INFO "%s: %s, sram %s, port %#3lx, irq %d, hw_addr ", 537 printk(KERN_INFO "%s: %s, sram %s, port %#3lx, irq %d, "
538 "hw_addr %s\n",
537 dev->name, card_name, sram_config == 0 ? "4K TX*2" : "8K TX*2", 539 dev->name, card_name, sram_config == 0 ? "4K TX*2" : "8K TX*2",
538 dev->base_addr, dev->irq); 540 dev->base_addr, dev->irq, print_mac(mac, dev->dev_addr));
539 for (i = 0; i < 6; i++)
540 printk("%02X%s", dev->dev_addr[i], ((i<5) ? ":" : "\n"));
541 541
542 return 0; 542 return 0;
543 543