diff options
Diffstat (limited to 'drivers/net/de620.c')
-rw-r--r-- | drivers/net/de620.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/de620.c b/drivers/net/de620.c index d454e143483e..643b1ea08414 100644 --- a/drivers/net/de620.c +++ b/drivers/net/de620.c | |||
@@ -800,7 +800,6 @@ struct net_device * __init de620_probe(int unit) | |||
800 | struct net_device *dev; | 800 | struct net_device *dev; |
801 | int err = -ENOMEM; | 801 | int err = -ENOMEM; |
802 | int i; | 802 | int i; |
803 | DECLARE_MAC_BUF(mac); | ||
804 | 803 | ||
805 | dev = alloc_etherdev(0); | 804 | dev = alloc_etherdev(0); |
806 | if (!dev) | 805 | if (!dev) |
@@ -853,7 +852,7 @@ struct net_device * __init de620_probe(int unit) | |||
853 | dev->broadcast[i] = 0xff; | 852 | dev->broadcast[i] = 0xff; |
854 | } | 853 | } |
855 | 854 | ||
856 | printk(", Ethernet Address: %s", print_mac(mac, dev->dev_addr)); | 855 | printk(", Ethernet Address: %pM", dev->dev_addr); |
857 | 856 | ||
858 | printk(" (%dk RAM,", | 857 | printk(" (%dk RAM,", |
859 | (nic_data.RAM_Size) ? (nic_data.RAM_Size >> 2) : 64); | 858 | (nic_data.RAM_Size) ? (nic_data.RAM_Size >> 2) : 64); |
@@ -876,10 +875,7 @@ struct net_device * __init de620_probe(int unit) | |||
876 | if (de620_debug) { | 875 | if (de620_debug) { |
877 | printk("\nEEPROM contents:\n"); | 876 | printk("\nEEPROM contents:\n"); |
878 | printk("RAM_Size = 0x%02X\n", nic_data.RAM_Size); | 877 | printk("RAM_Size = 0x%02X\n", nic_data.RAM_Size); |
879 | printk("NodeID = %02X:%02X:%02X:%02X:%02X:%02X\n", | 878 | printk("NodeID = %pM\n", nic_data.NodeID); |
880 | nic_data.NodeID[0], nic_data.NodeID[1], | ||
881 | nic_data.NodeID[2], nic_data.NodeID[3], | ||
882 | nic_data.NodeID[4], nic_data.NodeID[5]); | ||
883 | printk("Model = %d\n", nic_data.Model); | 879 | printk("Model = %d\n", nic_data.Model); |
884 | printk("Media = %d\n", nic_data.Media); | 880 | printk("Media = %d\n", nic_data.Media); |
885 | printk("SCR = 0x%02x\n", nic_data.SCR); | 881 | printk("SCR = 0x%02x\n", nic_data.SCR); |