diff options
Diffstat (limited to 'drivers/net/sis190.c')
-rw-r--r-- | drivers/net/sis190.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/sis190.c b/drivers/net/sis190.c index 808141b46585..720088396bb9 100644 --- a/drivers/net/sis190.c +++ b/drivers/net/sis190.c | |||
@@ -1759,6 +1759,7 @@ static int __devinit sis190_init_one(struct pci_dev *pdev, | |||
1759 | struct net_device *dev; | 1759 | struct net_device *dev; |
1760 | void __iomem *ioaddr; | 1760 | void __iomem *ioaddr; |
1761 | int rc; | 1761 | int rc; |
1762 | DECLARE_MAC_BUF(mac); | ||
1762 | 1763 | ||
1763 | if (!printed_version) { | 1764 | if (!printed_version) { |
1764 | net_drv(&debug, KERN_INFO SIS190_DRIVER_NAME " loaded.\n"); | 1765 | net_drv(&debug, KERN_INFO SIS190_DRIVER_NAME " loaded.\n"); |
@@ -1809,12 +1810,9 @@ static int __devinit sis190_init_one(struct pci_dev *pdev, | |||
1809 | goto err_remove_mii; | 1810 | goto err_remove_mii; |
1810 | 1811 | ||
1811 | net_probe(tp, KERN_INFO "%s: %s at %p (IRQ: %d), " | 1812 | net_probe(tp, KERN_INFO "%s: %s at %p (IRQ: %d), " |
1812 | "%2.2x:%2.2x:%2.2x:%2.2x:%2.2x:%2.2x\n", | 1813 | "%s\n", |
1813 | pci_name(pdev), sis_chip_info[ent->driver_data].name, | 1814 | pci_name(pdev), sis_chip_info[ent->driver_data].name, |
1814 | ioaddr, dev->irq, | 1815 | ioaddr, dev->irq, print_mac(mac, dev->dev_addr)); |
1815 | dev->dev_addr[0], dev->dev_addr[1], | ||
1816 | dev->dev_addr[2], dev->dev_addr[3], | ||
1817 | dev->dev_addr[4], dev->dev_addr[5]); | ||
1818 | 1816 | ||
1819 | net_probe(tp, KERN_INFO "%s: %s mode.\n", dev->name, | 1817 | net_probe(tp, KERN_INFO "%s: %s mode.\n", dev->name, |
1820 | (tp->features & F_HAS_RGMII) ? "RGMII" : "GMII"); | 1818 | (tp->features & F_HAS_RGMII) ? "RGMII" : "GMII"); |