aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r--drivers/net/smc91x.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index fe28d277f21a..24e610e711e8 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -1822,9 +1822,10 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr)
1822{ 1822{
1823 struct smc_local *lp = netdev_priv(dev); 1823 struct smc_local *lp = netdev_priv(dev);
1824 static int version_printed = 0; 1824 static int version_printed = 0;
1825 int i, retval; 1825 int retval;
1826 unsigned int val, revision_register; 1826 unsigned int val, revision_register;
1827 const char *version_string; 1827 const char *version_string;
1828 DECLARE_MAC_BUF(mac);
1828 1829
1829 DBG(2, "%s: %s\n", CARDNAME, __FUNCTION__); 1830 DBG(2, "%s: %s\n", CARDNAME, __FUNCTION__);
1830 1831
@@ -2014,10 +2015,8 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr)
2014 "set using ifconfig\n", dev->name); 2015 "set using ifconfig\n", dev->name);
2015 } else { 2016 } else {
2016 /* Print the Ethernet address */ 2017 /* Print the Ethernet address */
2017 printk("%s: Ethernet addr: ", dev->name); 2018 printk("%s: Ethernet addr: %s\n",
2018 for (i = 0; i < 5; i++) 2019 dev->name, print_mac(mac, dev->dev_addr));
2019 printk("%2.2x:", dev->dev_addr[i]);
2020 printk("%2.2x\n", dev->dev_addr[5]);
2021 } 2020 }
2022 2021
2023 if (lp->phy_type == 0) { 2022 if (lp->phy_type == 0) {