aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sundance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sundance.c')
-rw-r--r--drivers/net/sundance.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c
index 3c553dcc2b9d..a37637ec9b77 100644
--- a/drivers/net/sundance.c
+++ b/drivers/net/sundance.c
@@ -467,7 +467,7 @@ static int __devinit sundance_probe1 (struct pci_dev *pdev,
467 int bar = 1; 467 int bar = 1;
468#endif 468#endif
469 int phy, phy_idx = 0; 469 int phy, phy_idx = 0;
470 470 DECLARE_MAC_BUF(mac);
471 471
472/* when built into the kernel, we only print version if device is found */ 472/* when built into the kernel, we only print version if device is found */
473#ifndef MODULE 473#ifndef MODULE
@@ -546,11 +546,9 @@ static int __devinit sundance_probe1 (struct pci_dev *pdev,
546 if (i) 546 if (i)
547 goto err_out_unmap_rx; 547 goto err_out_unmap_rx;
548 548
549 printk(KERN_INFO "%s: %s at %p, ", 549 printk(KERN_INFO "%s: %s at %p, %s, IRQ %d.\n",
550 dev->name, pci_id_tbl[chip_idx].name, ioaddr); 550 dev->name, pci_id_tbl[chip_idx].name, ioaddr,
551 for (i = 0; i < 5; i++) 551 print_mac(mac, dev->dev_addr), irq);
552 printk("%2.2x:", dev->dev_addr[i]);
553 printk("%2.2x, IRQ %d.\n", dev->dev_addr[i], irq);
554 552
555 np->phys[0] = 1; /* Default setting */ 553 np->phys[0] = 1; /* Default setting */
556 np->mii_preamble_required++; 554 np->mii_preamble_required++;