diff options
author | hartleys <hartleys@visionengravers.com> | 2010-01-07 08:24:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 19:58:09 -0500 |
commit | 69d279eaf8f23c7d7cfc0e879c629a92bfc3e3e0 (patch) | |
tree | 02a0c28995813cf3d8d1507abaf4cc8c1b24b8ad /drivers/net/defxx.c | |
parent | bc7259a2ce764ea16200eb9e53f6e136e918d065 (diff) |
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/defxx.c')
-rw-r--r-- | drivers/net/defxx.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/defxx.c b/drivers/net/defxx.c index 6a6ea038d7a3..e4eac4bcdf83 100644 --- a/drivers/net/defxx.c +++ b/drivers/net/defxx.c | |||
@@ -1052,12 +1052,9 @@ static int __devinit dfx_driver_init(struct net_device *dev, | |||
1052 | board_name = "DEFEA"; | 1052 | board_name = "DEFEA"; |
1053 | if (dfx_bus_pci) | 1053 | if (dfx_bus_pci) |
1054 | board_name = "DEFPA"; | 1054 | board_name = "DEFPA"; |
1055 | pr_info("%s: %s at %saddr = 0x%llx, IRQ = %d, " | 1055 | pr_info("%s: %s at %saddr = 0x%llx, IRQ = %d, Hardware addr = %pMF\n", |
1056 | "Hardware addr = %02X-%02X-%02X-%02X-%02X-%02X\n", | ||
1057 | print_name, board_name, dfx_use_mmio ? "" : "I/O ", | 1056 | print_name, board_name, dfx_use_mmio ? "" : "I/O ", |
1058 | (long long)bar_start, dev->irq, | 1057 | (long long)bar_start, dev->irq, dev->dev_addr); |
1059 | dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], | ||
1060 | dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]); | ||
1061 | 1058 | ||
1062 | /* | 1059 | /* |
1063 | * Get memory for descriptor block, consumer block, and other buffers | 1060 | * Get memory for descriptor block, consumer block, and other buffers |