aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/8139cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/8139cp.c')
-rw-r--r--drivers/net/8139cp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c
index 58fad1b2f72e..7edd50cf7776 100644
--- a/drivers/net/8139cp.c
+++ b/drivers/net/8139cp.c
@@ -1823,6 +1823,7 @@ static int cp_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
1823 void __iomem *regs; 1823 void __iomem *regs;
1824 resource_size_t pciaddr; 1824 resource_size_t pciaddr;
1825 unsigned int addr_len, i, pci_using_dac; 1825 unsigned int addr_len, i, pci_using_dac;
1826 DECLARE_MAC_BUF(mac);
1826 1827
1827#ifndef MODULE 1828#ifndef MODULE
1828 static int version_printed; 1829 static int version_printed;
@@ -1964,13 +1965,10 @@ static int cp_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
1964 goto err_out_iomap; 1965 goto err_out_iomap;
1965 1966
1966 printk (KERN_INFO "%s: RTL-8139C+ at 0x%lx, " 1967 printk (KERN_INFO "%s: RTL-8139C+ at 0x%lx, "
1967 "%02x:%02x:%02x:%02x:%02x:%02x, " 1968 "%s, IRQ %d\n",
1968 "IRQ %d\n",
1969 dev->name, 1969 dev->name,
1970 dev->base_addr, 1970 dev->base_addr,
1971 dev->dev_addr[0], dev->dev_addr[1], 1971 print_mac(mac, dev->dev_addr),
1972 dev->dev_addr[2], dev->dev_addr[3],
1973 dev->dev_addr[4], dev->dev_addr[5],
1974 dev->irq); 1972 dev->irq);
1975 1973
1976 pci_set_drvdata(pdev, dev); 1974 pci_set_drvdata(pdev, dev);