aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2009-12-29 23:10:35 -0500
committerDavid S. Miller <davem@davemloft.net>2009-12-29 23:10:35 -0500
commit6cd9b49d7328c4656bfc17fcb47fb814955d40d2 (patch)
treea8ab520bf786c80f489768c52dfa21d524dbe1cf /drivers/net
parent30a6ae8d477dc90254eb785d8ccff6dfe7d9082e (diff)
Subject: drivers/net/sh_eth.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')
-rw-r--r--drivers/net/sh_eth.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index ca6285016dfd..ed52c0063a65 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -1473,13 +1473,9 @@ static int sh_eth_drv_probe(struct platform_device *pdev)
1473 if (ret) 1473 if (ret)
1474 goto out_unregister; 1474 goto out_unregister;
1475 1475
1476 /* pritnt device infomation */ 1476 /* print device infomation */
1477 pr_info("Base address at 0x%x, ", 1477 pr_info("Base address at 0x%x, %pM, IRQ %d.\n",
1478 (u32)ndev->base_addr); 1478 (u32)ndev->base_addr, ndev->dev_addr, ndev->irq);
1479
1480 for (i = 0; i < 5; i++)
1481 printk("%02X:", ndev->dev_addr[i]);
1482 printk("%02X, IRQ %d.\n", ndev->dev_addr[i], ndev->irq);
1483 1479
1484 platform_set_drvdata(pdev, ndev); 1480 platform_set_drvdata(pdev, ndev);
1485 1481