diff options
Diffstat (limited to 'drivers/net/tulip/dmfe.c')
-rw-r--r-- | drivers/net/tulip/dmfe.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index e2596e9ab1d7..ca90566d5bcd 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c | |||
@@ -362,6 +362,7 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, | |||
362 | struct net_device *dev; | 362 | struct net_device *dev; |
363 | u32 pci_pmr; | 363 | u32 pci_pmr; |
364 | int i, err; | 364 | int i, err; |
365 | DECLARE_MAC_BUF(mac); | ||
365 | 366 | ||
366 | DMFE_DBUG(0, "dmfe_init_one()", 0); | 367 | DMFE_DBUG(0, "dmfe_init_one()", 0); |
367 | 368 | ||
@@ -470,13 +471,13 @@ static int __devinit dmfe_init_one (struct pci_dev *pdev, | |||
470 | if (err) | 471 | if (err) |
471 | goto err_out_res; | 472 | goto err_out_res; |
472 | 473 | ||
473 | printk(KERN_INFO "%s: Davicom DM%04lx at pci%s,", | 474 | printk(KERN_INFO "%s: Davicom DM%04lx at pci%s, " |
474 | dev->name, | 475 | "%s, irq %d.\n", |
475 | ent->driver_data >> 16, | 476 | dev->name, |
476 | pci_name(pdev)); | 477 | ent->driver_data >> 16, |
477 | for (i = 0; i < 6; i++) | 478 | pci_name(pdev), |
478 | printk("%c%02x", i ? ':' : ' ', dev->dev_addr[i]); | 479 | print_mac(mac, dev->dev_addr), |
479 | printk(", irq %d.\n", dev->irq); | 480 | dev->irq); |
480 | 481 | ||
481 | pci_set_master(pdev); | 482 | pci_set_master(pdev); |
482 | 483 | ||