pcnet32: Use print_mac
authorDon Fry <pcnet32@verizon.net>
Fri, 8 Feb 2008 15:29:38 +0000 (07:29 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 15:28:31 +0000 (10:28 -0500)
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Don Fry <pcnet32@verizon.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pcnet32.c

index 7c8da6105227077341af7d81a502bd9f97e39f77..4eb322e5273dab2df2102db0c55eec8fff6e815f 100644 (file)
@@ -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) {