aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-12-20 07:07:35 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:59:15 -0500
commit2caf62f6cae46e36b1c4a1b0f2d9ef82af89cad2 (patch)
treeb2ee3e3c3d0bcbc4af2bab7f14b043dcbe4b07e7 /drivers
parentd66453722873e1595b7934acbdcd5cdfa6982d6c (diff)
[NIU]: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/niu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index 5f6beabf2d17..2fe14b0c5c67 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -7588,12 +7588,10 @@ static void __devinit niu_assign_netdev_ops(struct net_device *dev)
7588static void __devinit niu_device_announce(struct niu *np) 7588static void __devinit niu_device_announce(struct niu *np)
7589{ 7589{
7590 struct net_device *dev = np->dev; 7590 struct net_device *dev = np->dev;
7591 int i; 7591 DECLARE_MAC_BUF(mac);
7592 7592
7593 pr_info("%s: NIU Ethernet ", dev->name); 7593 pr_info("%s: NIU Ethernet %s\n",
7594 for (i = 0; i < 6; i++) 7594 dev->name, print_mac(mac, dev->dev_addr));
7595 printk("%2.2x%c", dev->dev_addr[i],
7596 i == 5 ? '\n' : ':');
7597 7595
7598 pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n", 7596 pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n",
7599 dev->name, 7597 dev->name,