diff options
author | hartleys <hartleys@visionengravers.com> | 2010-01-05 01:59:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-07 04:13:58 -0500 |
commit | bf54e73691158a634ff72ebc139f38c4fa7b83f0 (patch) | |
tree | 50cf6985efe5893985bd69ae817f1b7e3c2b3986 /drivers/net/vxge | |
parent | 0e05a613f40a1210a050ebd1ecfd5434420ae5b2 (diff) |
drivers/net/vxge/vxge-main.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/net/vxge')
-rw-r--r-- | drivers/net/vxge/vxge-main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/vxge/vxge-main.c b/drivers/net/vxge/vxge-main.c index f1c4b2a1e86..5f0e7ea0d49 100644 --- a/drivers/net/vxge/vxge-main.c +++ b/drivers/net/vxge/vxge-main.c | |||
@@ -4297,10 +4297,8 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) | |||
4297 | vxge_debug_init(VXGE_TRACE, "%s: Neterion %s Server Adapter", | 4297 | vxge_debug_init(VXGE_TRACE, "%s: Neterion %s Server Adapter", |
4298 | vdev->ndev->name, ll_config.device_hw_info.product_desc); | 4298 | vdev->ndev->name, ll_config.device_hw_info.product_desc); |
4299 | 4299 | ||
4300 | vxge_debug_init(VXGE_TRACE, | 4300 | vxge_debug_init(VXGE_TRACE, "%s: MAC ADDR: %pM", |
4301 | "%s: MAC ADDR: %02X:%02X:%02X:%02X:%02X:%02X", | 4301 | vdev->ndev->name, macaddr); |
4302 | vdev->ndev->name, macaddr[0], macaddr[1], macaddr[2], | ||
4303 | macaddr[3], macaddr[4], macaddr[5]); | ||
4304 | 4302 | ||
4305 | vxge_debug_init(VXGE_TRACE, "%s: Link Width x%d", | 4303 | vxge_debug_init(VXGE_TRACE, "%s: Link Width x%d", |
4306 | vdev->ndev->name, vxge_hw_device_link_width_get(hldev)); | 4304 | vdev->ndev->name, vxge_hw_device_link_width_get(hldev)); |