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>
This commit is contained in:
parent
232c564088
commit
b3028cdc18
|
@ -1778,8 +1778,8 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)
|
||||||
memset(dev->dev_addr, 0, sizeof(dev->dev_addr));
|
memset(dev->dev_addr, 0, sizeof(dev->dev_addr));
|
||||||
|
|
||||||
if (pcnet32_debug & NETIF_MSG_PROBE) {
|
if (pcnet32_debug & NETIF_MSG_PROBE) {
|
||||||
for (i = 0; i < 6; i++)
|
DECLARE_MAC_BUF(mac);
|
||||||
printk(" %2.2x", dev->dev_addr[i]);
|
printk(" %s", print_mac(mac, dev->dev_addr));
|
||||||
|
|
||||||
/* Version 0x2623 and 0x2624 */
|
/* Version 0x2623 and 0x2624 */
|
||||||
if (((chip_version + 1) & 0xfffe) == 0x2624) {
|
if (((chip_version + 1) & 0xfffe) == 0x2624) {
|
||||||
|
|
Loading…
Reference in New Issue