Commit 69d279ea authored by hartleys's avatar hartleys Committed by David S. Miller

drivers/net/defxx.c: use %pMF to show MAC address

Use the %pMF kernel extension to display the MAC address.

The address will still be displayed in the FDDI Canonical format.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bc7259a2
...@@ -1052,12 +1052,9 @@ static int __devinit dfx_driver_init(struct net_device *dev, ...@@ -1052,12 +1052,9 @@ static int __devinit dfx_driver_init(struct net_device *dev,
board_name = "DEFEA"; board_name = "DEFEA";
if (dfx_bus_pci) if (dfx_bus_pci)
board_name = "DEFPA"; board_name = "DEFPA";
pr_info("%s: %s at %saddr = 0x%llx, IRQ = %d, " pr_info("%s: %s at %saddr = 0x%llx, IRQ = %d, Hardware addr = %pMF\n",
"Hardware addr = %02X-%02X-%02X-%02X-%02X-%02X\n",
print_name, board_name, dfx_use_mmio ? "" : "I/O ", print_name, board_name, dfx_use_mmio ? "" : "I/O ",
(long long)bar_start, dev->irq, (long long)bar_start, dev->irq, dev->dev_addr);
dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2],
dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]);
/* /*
* Get memory for descriptor block, consumer block, and other buffers * Get memory for descriptor block, consumer block, and other buffers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment