Commit 2caf62f6 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

[NIU]: Use print_mac

Signed-off-by: default avatarJoe Perches <>
Signed-off-by: default avatarDavid S. Miller <>
parent d6645372
......@@ -7588,12 +7588,10 @@ static void __devinit niu_assign_netdev_ops(struct net_device *dev)
static void __devinit niu_device_announce(struct niu *np)
struct net_device *dev = np->dev;
int i;
pr_info("%s: NIU Ethernet ", dev->name);
for (i = 0; i < 6; i++)
printk("%2.2x%c", dev->dev_addr[i],
i == 5 ? '\n' : ':');
pr_info("%s: NIU Ethernet %s\n",
dev->name, print_mac(mac, dev->dev_addr));
pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment