diff options
Diffstat (limited to 'drivers/net/8139too.c')
-rw-r--r-- | drivers/net/8139too.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c index 28c1aaf1fe1..d3088a786e2 100644 --- a/drivers/net/8139too.c +++ b/drivers/net/8139too.c | |||
@@ -926,6 +926,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev, | |||
926 | int i, addr_len, option; | 926 | int i, addr_len, option; |
927 | void __iomem *ioaddr; | 927 | void __iomem *ioaddr; |
928 | static int board_idx = -1; | 928 | static int board_idx = -1; |
929 | DECLARE_MAC_BUF(mac); | ||
929 | 930 | ||
930 | assert (pdev != NULL); | 931 | assert (pdev != NULL); |
931 | assert (ent != NULL); | 932 | assert (ent != NULL); |
@@ -1017,14 +1018,11 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev, | |||
1017 | pci_set_drvdata (pdev, dev); | 1018 | pci_set_drvdata (pdev, dev); |
1018 | 1019 | ||
1019 | printk (KERN_INFO "%s: %s at 0x%lx, " | 1020 | printk (KERN_INFO "%s: %s at 0x%lx, " |
1020 | "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x, " | 1021 | "%s, IRQ %d\n", |
1021 | "IRQ %d\n", | ||
1022 | dev->name, | 1022 | dev->name, |
1023 | board_info[ent->driver_data].name, | 1023 | board_info[ent->driver_data].name, |
1024 | dev->base_addr, | 1024 | dev->base_addr, |
1025 | dev->dev_addr[0], dev->dev_addr[1], | 1025 | print_mac(mac, dev->dev_addr), |
1026 | dev->dev_addr[2], dev->dev_addr[3], | ||
1027 | dev->dev_addr[4], dev->dev_addr[5], | ||
1028 | dev->irq); | 1026 | dev->irq); |
1029 | 1027 | ||
1030 | printk (KERN_DEBUG "%s: Identified 8139 chip type '%s'\n", | 1028 | printk (KERN_DEBUG "%s: Identified 8139 chip type '%s'\n", |