aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ne2k-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ne2k-pci.c')
-rw-r--r--drivers/net/ne2k-pci.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/ne2k-pci.c b/drivers/net/ne2k-pci.c
index a5879672903e..b569c90da4ba 100644
--- a/drivers/net/ne2k-pci.c
+++ b/drivers/net/ne2k-pci.c
@@ -212,6 +212,7 @@ static int __devinit ne2k_pci_init_one (struct pci_dev *pdev,
212 static unsigned int fnd_cnt; 212 static unsigned int fnd_cnt;
213 long ioaddr; 213 long ioaddr;
214 int flags = pci_clone_list[chip_idx].flags; 214 int flags = pci_clone_list[chip_idx].flags;
215 DECLARE_MAC_BUF(mac);
215 216
216/* when built into the kernel, we only print version if device is found */ 217/* when built into the kernel, we only print version if device is found */
217#ifndef MODULE 218#ifndef MODULE
@@ -365,12 +366,12 @@ static int __devinit ne2k_pci_init_one (struct pci_dev *pdev,
365 if (i) 366 if (i)
366 goto err_out_free_netdev; 367 goto err_out_free_netdev;
367 368
368 printk("%s: %s found at %#lx, IRQ %d, ", 369 for(i = 0; i < 6; i++)
369 dev->name, pci_clone_list[chip_idx].name, ioaddr, dev->irq);
370 for(i = 0; i < 6; i++) {
371 printk("%2.2X%s", SA_prom[i], i == 5 ? ".\n": ":");
372 dev->dev_addr[i] = SA_prom[i]; 370 dev->dev_addr[i] = SA_prom[i];
373 } 371 printk("%s: %s found at %#lx, IRQ %d, %s.\n",
372 dev->name, pci_clone_list[chip_idx].name, ioaddr, dev->irq,
373 print_mac(mac, dev->dev_addr));
374
374 memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len); 375 memcpy(dev->perm_addr, dev->dev_addr, dev->addr_len);
375 376
376 return 0; 377 return 0;