aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/smc911x.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2009-12-29 23:08:09 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-29 23:08:09 -0500
commitfa876b474aa15cd1448790502a5a13f81f923446 (patch)
tree82b1782262347e2673027b7d6674e578e2bbddb0 /drivers/net/smc911x.c
parentb18fe4777f1cf7095fbe78652b72c076e300eaee (diff)
drivers/net/smc911x.c: use %pM to shown MAC address
Use the %pM kernel extension to display the MAC address. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r--drivers/net/smc911x.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
index 44ebbaa7457b..3c5a4f52345c 100644
--- a/drivers/net/smc911x.c
+++ b/drivers/net/smc911x.c
@@ -2017,10 +2017,8 @@ static int __devinit smc911x_probe(struct net_device *dev)
2017 "set using ifconfig\n", dev->name); 2017 "set using ifconfig\n", dev->name);
2018 } else { 2018 } else {
2019 /* Print the Ethernet address */ 2019 /* Print the Ethernet address */
2020 printk("%s: Ethernet addr: ", dev->name); 2020 printk("%s: Ethernet addr: %pM\n",
2021 for (i = 0; i < 5; i++) 2021 dev->name, dev->dev_addr);
2022 printk("%2.2x:", dev->dev_addr[i]);
2023 printk("%2.2x\n", dev->dev_addr[5]);
2024 } 2022 }
2025 2023
2026 if (lp->phy_type == 0) { 2024 if (lp->phy_type == 0) {