diff options
author | Joe Perches <joe@perches.com> | 2007-10-03 20:59:30 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:42 -0400 |
commit | 0795af5729b18218767fab27c44b1384f72dc9ad (patch) | |
tree | 67c16df84aa6ec219340b8ea1b5cfb0e8150a216 /drivers/net/a2065.c | |
parent | 95ea36275f3c9a1d3d04c217b4b576c657c4e70e (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/a2065.c')
-rw-r--r-- | drivers/net/a2065.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/a2065.c b/drivers/net/a2065.c index 77773ce52eff..18f7f815f66e 100644 --- a/drivers/net/a2065.c +++ b/drivers/net/a2065.c | |||
@@ -716,6 +716,7 @@ static int __devinit a2065_init_one(struct zorro_dev *z, | |||
716 | unsigned long board, base_addr, mem_start; | 716 | unsigned long board, base_addr, mem_start; |
717 | struct resource *r1, *r2; | 717 | struct resource *r1, *r2; |
718 | int err; | 718 | int err; |
719 | DECLARE_MAC_BUF(mac); | ||
719 | 720 | ||
720 | board = z->resource.start; | 721 | board = z->resource.start; |
721 | base_addr = board+A2065_LANCE; | 722 | base_addr = board+A2065_LANCE; |
@@ -792,9 +793,8 @@ static int __devinit a2065_init_one(struct zorro_dev *z, | |||
792 | zorro_set_drvdata(z, dev); | 793 | zorro_set_drvdata(z, dev); |
793 | 794 | ||
794 | printk(KERN_INFO "%s: A2065 at 0x%08lx, Ethernet Address " | 795 | printk(KERN_INFO "%s: A2065 at 0x%08lx, Ethernet Address " |
795 | "%02x:%02x:%02x:%02x:%02x:%02x\n", dev->name, board, | 796 | "%s\n", dev->name, board, |
796 | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], | 797 | print_mac(mac, dev->dev_addr)); |
797 | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]); | ||
798 | 798 | ||
799 | return 0; | 799 | return 0; |
800 | } | 800 | } |