aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,