aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sgiseeq.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2007-10-03 20:59:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:51:42 -0400
commit0795af5729b18218767fab27c44b1384f72dc9ad (patch)
tree67c16df84aa6ec219340b8ea1b5cfb0e8150a216 /drivers/net/sgiseeq.c
parent95ea36275f3c9a1d3d04c217b4b576c657c4e70e (diff)
[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
This is nicer than the MAC_FMT stuff. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sgiseeq.c')
-rw-r--r--drivers/net/sgiseeq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sgiseeq.c b/drivers/net/sgiseeq.c
index 5189ef066884..ff4056310356 100644
--- a/drivers/net/sgiseeq.c
+++ b/drivers/net/sgiseeq.c
@@ -622,6 +622,7 @@ static int __init sgiseeq_probe(struct platform_device *pdev)
622 struct sgiseeq_private *sp; 622 struct sgiseeq_private *sp;
623 struct net_device *dev; 623 struct net_device *dev;
624 int err, i; 624 int err, i;
625 DECLARE_MAC_BUF(mac);
625 626
626 dev = alloc_etherdev(sizeof (struct sgiseeq_private)); 627 dev = alloc_etherdev(sizeof (struct sgiseeq_private));
627 if (!dev) { 628 if (!dev) {
@@ -695,9 +696,8 @@ static int __init sgiseeq_probe(struct platform_device *pdev)
695 goto err_out_free_page; 696 goto err_out_free_page;
696 } 697 }
697 698
698 printk(KERN_INFO "%s: %s ", dev->name, sgiseeqstr); 699 printk(KERN_INFO "%s: %s %s\n",
699 for (i = 0; i < 6; i++) 700 dev->name, sgiseeqstr, print_mac(mac, dev->dev_addr));
700 printk("%2.2x%c", dev->dev_addr[i], i == 5 ? '\n' : ':');
701 701
702 return 0; 702 return 0;
703 703