aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-rhine.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-rhine.c')
-rw-r--r--drivers/net/via-rhine.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/net/via-rhine.c b/drivers/net/via-rhine.c
index d55c4fdff489..9669bce0fd07 100644
--- a/drivers/net/via-rhine.c
+++ b/drivers/net/via-rhine.c
@@ -638,6 +638,7 @@ static int __devinit rhine_init_one(struct pci_dev *pdev,
638#else 638#else
639 int bar = 0; 639 int bar = 0;
640#endif 640#endif
641 DECLARE_MAC_BUF(mac);
641 642
642/* when built into the kernel, we only print version if device is found */ 643/* when built into the kernel, we only print version if device is found */
643#ifndef MODULE 644#ifndef MODULE
@@ -794,18 +795,14 @@ static int __devinit rhine_init_one(struct pci_dev *pdev,
794 if (rc) 795 if (rc)
795 goto err_out_unmap; 796 goto err_out_unmap;
796 797
797 printk(KERN_INFO "%s: VIA %s at 0x%lx, ", 798 printk(KERN_INFO "%s: VIA %s at 0x%lx, %s, IRQ %d.\n",
798 dev->name, name, 799 dev->name, name,
799#ifdef USE_MMIO 800#ifdef USE_MMIO
800 memaddr 801 memaddr,
801#else 802#else
802 (long)ioaddr 803 (long)ioaddr,
803#endif 804#endif
804 ); 805 print_mac(mac, dev->dev_addr), pdev->irq);
805
806 for (i = 0; i < 5; i++)
807 printk("%2.2x:", dev->dev_addr[i]);
808 printk("%2.2x, IRQ %d.\n", dev->dev_addr[i], pdev->irq);
809 806
810 pci_set_drvdata(pdev, dev); 807 pci_set_drvdata(pdev, dev);
811 808