diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2005-11-23 06:49:43 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-01 02:25:26 -0500 |
commit | 7ed98bfdea45dbdc66261660357659470935a03a (patch) | |
tree | 43836b1d4869c7a6863f2eb6325a7b3f6e81b71c | |
parent | 350f19632d18e808aa1f2ca96f2be86c67de67ff (diff) |
[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: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/net/ixp2000/ixpdev.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ixp2000/ixpdev.c b/drivers/net/ixp2000/ixpdev.c index e9d978a1d6b4..2ef8f8fa6c4a 100644 --- a/drivers/net/ixp2000/ixpdev.c +++ b/drivers/net/ixp2000/ixpdev.c | |||
@@ -362,6 +362,14 @@ int ixpdev_init(int __nds_count, struct net_device **__nds, | |||
362 | } | 362 | } |
363 | } | 363 | } |
364 | 364 | ||
365 | for (i = 0; i < nds_count; i++) { | ||
366 | printk(KERN_INFO "%s: IXP2000 MSF ethernet (port %d), " | ||
367 | "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x.\n", nds[i]->name, i, | ||
368 | nds[i]->dev_addr[0], nds[i]->dev_addr[1], | ||
369 | nds[i]->dev_addr[2], nds[i]->dev_addr[3], | ||
370 | nds[i]->dev_addr[4], nds[i]->dev_addr[5]); | ||
371 | } | ||
372 | |||
365 | return 0; | 373 | return 0; |
366 | 374 | ||
367 | err_free_tx: | 375 | err_free_tx: |