summaryrefslogtreecommitdiffstats
path: root/drivers/net/pcnet32.c
diff options
context:
space:
mode:
authorDon Fry <pcnet32@verizon.net>2008-02-08 16:29:38 +0100
committerJeff Garzik <jeff@garzik.org>2008-02-11 16:28:31 +0100
commitb3028cdc1859adf371f9457862e466f0e67f0b10 (patch)
tree2e6a1b462695a7f6a2989fd570bf900b03011a0b /drivers/net/pcnet32.c
parentpcnet32: use NET_IP_ALIGN instead of 2 (diff)
downloadlinux-b3028cdc1859adf371f9457862e466f0e67f0b10.tar.xz
linux-b3028cdc1859adf371f9457862e466f0e67f0b10.zip
pcnet32: Use print_mac
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Don Fry <pcnet32@verizon.net> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pcnet32.c')
-rw-r--r--drivers/net/pcnet32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c
index 7c8da6105227..4eb322e5273d 100644
--- a/drivers/net/pcnet32.c
+++ b/drivers/net/pcnet32.c
@@ -1778,8 +1778,8 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)
memset(dev->dev_addr, 0, sizeof(dev->dev_addr));
if (pcnet32_debug & NETIF_MSG_PROBE) {
- for (i = 0; i < 6; i++)
- printk(" %2.2x", dev->dev_addr[i]);
+ DECLARE_MAC_BUF(mac);
+ printk(" %s", print_mac(mac, dev->dev_addr));
/* Version 0x2623 and 0x2624 */
if (((chip_version + 1) & 0xfffe) == 0x2624) {