aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pci-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pci-skeleton.c')
-rw-r--r--drivers/net/pci-skeleton.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/pci-skeleton.c b/drivers/net/pci-skeleton.c
index 7dace63fb6e6..ed402e00e730 100644
--- a/drivers/net/pci-skeleton.c
+++ b/drivers/net/pci-skeleton.c
@@ -737,6 +737,7 @@ static int __devinit netdrv_init_one (struct pci_dev *pdev,
737 int i, addr_len, option; 737 int i, addr_len, option;
738 void *ioaddr = NULL; 738 void *ioaddr = NULL;
739 static int board_idx = -1; 739 static int board_idx = -1;
740 DECLARE_MAC_BUF(mac);
740 741
741/* when built into the kernel, we only print version if device is found */ 742/* when built into the kernel, we only print version if device is found */
742#ifndef MODULE 743#ifndef MODULE
@@ -796,15 +797,11 @@ static int __devinit netdrv_init_one (struct pci_dev *pdev,
796 797
797 tp->phys[0] = 32; 798 tp->phys[0] = 32;
798 799
799 printk (KERN_INFO "%s: %s at 0x%lx, " 800 printk (KERN_INFO "%s: %s at 0x%lx, %sIRQ %d\n",
800 "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x, "
801 "IRQ %d\n",
802 dev->name, 801 dev->name,
803 board_info[ent->driver_data].name, 802 board_info[ent->driver_data].name,
804 dev->base_addr, 803 dev->base_addr,
805 dev->dev_addr[0], dev->dev_addr[1], 804 print_mac(mac, dev->dev_addr),
806 dev->dev_addr[2], dev->dev_addr[3],
807 dev->dev_addr[4], dev->dev_addr[5],
808 dev->irq); 805 dev->irq);
809 806
810 printk (KERN_DEBUG "%s: Identified 8139 chip type '%s'\n", 807 printk (KERN_DEBUG "%s: Identified 8139 chip type '%s'\n",