pcnet32: Use print_mac
Subsystems (2)
PATCH 1/1 pcnet32: Use print_mac
Signed-off-by Joe Perches <[email protected]>
Acked-by Don Fry <[email protected]>
---
Originally sent by Joe Dec 14, 2007
Tested by Don on amd_64
drivers/net/pcnet32.c renamed from drivers/net/orig.pcnet32.c +2 -2
@@ -1774,8 +1774,8 @@ pcnet32_probe1(unsigned long ioaddr, intmemset (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 ) {