aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1c
diff options
context:
space:
mode:
authorhartleys <hartleys@visionengravers.com>2010-01-05 01:54:01 -0500
committerDavid S. Miller <davem@davemloft.net>2010-01-07 04:13:59 -0500
commit829911725f4bb72c30480aab756704d588c7cd1e (patch)
tree8a364620baaee680b7c7530a44f82d5c092321f1 /drivers/net/atl1c
parentbf54e73691158a634ff72ebc139f38c4fa7b83f0 (diff)
drivers/net/atl1c/atl1c_main.c: use %pM to show MAC address
Use the %pM kernel extension to display the MAC address. The only difference in the output is that the MAC address is shown in the usual colon-separated hex notation. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c')
-rw-r--r--drivers/net/atl1c/atl1c_main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c
index 2f4be59b9c0b..77cde859620c 100644
--- a/drivers/net/atl1c/atl1c_main.c
+++ b/drivers/net/atl1c/atl1c_main.c
@@ -2596,11 +2596,8 @@ static int __devinit atl1c_probe(struct pci_dev *pdev,
2596 memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len); 2596 memcpy(netdev->dev_addr, adapter->hw.mac_addr, netdev->addr_len);
2597 memcpy(netdev->perm_addr, adapter->hw.mac_addr, netdev->addr_len); 2597 memcpy(netdev->perm_addr, adapter->hw.mac_addr, netdev->addr_len);
2598 if (netif_msg_probe(adapter)) 2598 if (netif_msg_probe(adapter))
2599 dev_dbg(&pdev->dev, 2599 dev_dbg(&pdev->dev, "mac address : %pM\n",
2600 "mac address : %02x-%02x-%02x-%02x-%02x-%02x\n", 2600 adapter->hw.mac_addr);
2601 adapter->hw.mac_addr[0], adapter->hw.mac_addr[1],
2602 adapter->hw.mac_addr[2], adapter->hw.mac_addr[3],
2603 adapter->hw.mac_addr[4], adapter->hw.mac_addr[5]);
2604 2601
2605 atl1c_hw_set_mac_addr(&adapter->hw); 2602 atl1c_hw_set_mac_addr(&adapter->hw);
2606 INIT_WORK(&adapter->common_task, atl1c_common_task); 2603 INIT_WORK(&adapter->common_task, atl1c_common_task);