Commit 7ed98bfd authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Jeff Garzik

[PATCH] ixp2000: report MAC addresses for each port on init

After initialising, report the MAC address that we're using for
each port.
Signed-off-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 350f1963
...@@ -362,6 +362,14 @@ int ixpdev_init(int __nds_count, struct net_device **__nds, ...@@ -362,6 +362,14 @@ int ixpdev_init(int __nds_count, struct net_device **__nds,
} }
} }
for (i = 0; i < nds_count; i++) {
printk(KERN_INFO "%s: IXP2000 MSF ethernet (port %d), "
"%.2x:%.2x:%.2x:%.2x:%.2x:%.2x.\n", nds[i]->name, i,
nds[i]->dev_addr[0], nds[i]->dev_addr[1],
nds[i]->dev_addr[2], nds[i]->dev_addr[3],
nds[i]->dev_addr[4], nds[i]->dev_addr[5]);
}
return 0; return 0;
err_free_tx: err_free_tx:
......
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