diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2009-12-29 23:06:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-29 23:06:45 -0500 |
commit | 3b8dff3622a813d093a8601dc90fb6f12183f87c (patch) | |
tree | d126f7c299e2a99c06054953ed32db44beebe6b2 | |
parent | d998ab0bd737fad9c8e3c88eb6f52c43e90fda9a (diff) |
drivers/net/usb/catc.c: use %pM to shown MAC address
Use the %pM kernel extension to display the MAC address.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/catc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c index 22b87e64a810..7d3fa06980c1 100644 --- a/drivers/net/usb/catc.c +++ b/drivers/net/usb/catc.c | |||
@@ -897,11 +897,9 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id | |||
897 | f5u011_rxmode(catc, catc->rxmode); | 897 | f5u011_rxmode(catc, catc->rxmode); |
898 | } | 898 | } |
899 | dbg("Init done."); | 899 | dbg("Init done."); |
900 | printk(KERN_INFO "%s: %s USB Ethernet at usb-%s-%s, ", | 900 | printk(KERN_INFO "%s: %s USB Ethernet at usb-%s-%s, %pM.\n", |
901 | netdev->name, (catc->is_f5u011) ? "Belkin F5U011" : "CATC EL1210A NetMate", | 901 | netdev->name, (catc->is_f5u011) ? "Belkin F5U011" : "CATC EL1210A NetMate", |
902 | usbdev->bus->bus_name, usbdev->devpath); | 902 | usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr); |
903 | for (i = 0; i < 5; i++) printk("%2.2x:", netdev->dev_addr[i]); | ||
904 | printk("%2.2x.\n", netdev->dev_addr[i]); | ||
905 | usb_set_intfdata(intf, catc); | 903 | usb_set_intfdata(intf, catc); |
906 | 904 | ||
907 | SET_NETDEV_DEV(netdev, &intf->dev); | 905 | SET_NETDEV_DEV(netdev, &intf->dev); |