diff options
Diffstat (limited to 'drivers/net/ioc3-eth.c')
-rw-r--r-- | drivers/net/ioc3-eth.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c index 1f25263dc7eb..afac65e46773 100644 --- a/drivers/net/ioc3-eth.c +++ b/drivers/net/ioc3-eth.c | |||
@@ -390,11 +390,8 @@ static int nic_init(struct ioc3 *ioc3) | |||
390 | } | 390 | } |
391 | 391 | ||
392 | printk("Found %s NIC", type); | 392 | printk("Found %s NIC", type); |
393 | if (type != unknown) { | 393 | if (type != unknown) |
394 | printk (" registration number %02x:%02x:%02x:%02x:%02x:%02x," | 394 | printk (" registration number %pM, CRC %02x", serial, crc); |
395 | " CRC %02x", serial[0], serial[1], serial[2], | ||
396 | serial[3], serial[4], serial[5], crc); | ||
397 | } | ||
398 | printk(".\n"); | 395 | printk(".\n"); |
399 | 396 | ||
400 | return 0; | 397 | return 0; |
@@ -443,12 +440,9 @@ static void ioc3_get_eaddr_nic(struct ioc3_private *ip) | |||
443 | */ | 440 | */ |
444 | static void ioc3_get_eaddr(struct ioc3_private *ip) | 441 | static void ioc3_get_eaddr(struct ioc3_private *ip) |
445 | { | 442 | { |
446 | DECLARE_MAC_BUF(mac); | ||
447 | |||
448 | ioc3_get_eaddr_nic(ip); | 443 | ioc3_get_eaddr_nic(ip); |
449 | 444 | ||
450 | printk("Ethernet address is %s.\n", | 445 | printk("Ethernet address is %pM.\n", priv_netdev(ip)->dev_addr); |
451 | print_mac(mac, priv_netdev(ip)->dev_addr)); | ||
452 | } | 446 | } |
453 | 447 | ||
454 | static void __ioc3_set_mac_address(struct net_device *dev) | 448 | static void __ioc3_set_mac_address(struct net_device *dev) |