diff options
author | hartleys <hartleys@visionengravers.com> | 2010-01-05 01:28:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 04:13:54 -0500 |
commit | 1154b299e7924f2ae8bb3ca479a6942e1edd78fc (patch) | |
tree | 1ef4663f3e888dcb23aa615c2e63d642a0969983 /drivers/atm | |
parent | 2d13bafeba24f732e89b818b8c66b07893457570 (diff) |
drivers/atm/nicstar.c: use %pM to show MAC address
Use the %pM kernel extension to display the MAC address.
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/atm')
-rw-r--r-- | drivers/atm/nicstar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c index 3da804b1627d..50838407b117 100644 --- a/drivers/atm/nicstar.c +++ b/drivers/atm/nicstar.c | |||
@@ -807,9 +807,7 @@ static int __devinit ns_init_card(int i, struct pci_dev *pcidev) | |||
807 | } | 807 | } |
808 | } | 808 | } |
809 | 809 | ||
810 | printk("nicstar%d: MAC address %02X:%02X:%02X:%02X:%02X:%02X\n", i, | 810 | printk("nicstar%d: MAC address %pM\n", i, card->atmdev->esi); |
811 | card->atmdev->esi[0], card->atmdev->esi[1], card->atmdev->esi[2], | ||
812 | card->atmdev->esi[3], card->atmdev->esi[4], card->atmdev->esi[5]); | ||
813 | 811 | ||
814 | card->atmdev->dev_data = card; | 812 | card->atmdev->dev_data = card; |
815 | card->atmdev->ci_range.vpi_bits = card->vpibits; | 813 | card->atmdev->ci_range.vpi_bits = card->vpibits; |