diff options
Diffstat (limited to 'drivers/net/de620.c')
-rw-r--r-- | drivers/net/de620.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/de620.c b/drivers/net/de620.c index 4b93902906ba..3f5190c654cf 100644 --- a/drivers/net/de620.c +++ b/drivers/net/de620.c | |||
@@ -807,6 +807,7 @@ struct net_device * __init de620_probe(int unit) | |||
807 | struct net_device *dev; | 807 | struct net_device *dev; |
808 | int err = -ENOMEM; | 808 | int err = -ENOMEM; |
809 | int i; | 809 | int i; |
810 | DECLARE_MAC_BUF(mac); | ||
810 | 811 | ||
811 | dev = alloc_etherdev(0); | 812 | dev = alloc_etherdev(0); |
812 | if (!dev) | 813 | if (!dev) |
@@ -853,13 +854,14 @@ struct net_device * __init de620_probe(int unit) | |||
853 | } | 854 | } |
854 | 855 | ||
855 | /* else, got it! */ | 856 | /* else, got it! */ |
856 | printk(", Ethernet Address: %2.2X", | 857 | dev->dev_addr[0] = nic_data.NodeID[0]; |
857 | dev->dev_addr[0] = nic_data.NodeID[0]); | ||
858 | for (i = 1; i < ETH_ALEN; i++) { | 858 | for (i = 1; i < ETH_ALEN; i++) { |
859 | printk(":%2.2X", dev->dev_addr[i] = nic_data.NodeID[i]); | 859 | dev->dev_addr[i] = nic_data.NodeID[i]; |
860 | dev->broadcast[i] = 0xff; | 860 | dev->broadcast[i] = 0xff; |
861 | } | 861 | } |
862 | 862 | ||
863 | printk(", Ethernet Address: %s", print_mac(mac, dev->dev_addr)); | ||
864 | |||
863 | printk(" (%dk RAM,", | 865 | printk(" (%dk RAM,", |
864 | (nic_data.RAM_Size) ? (nic_data.RAM_Size >> 2) : 64); | 866 | (nic_data.RAM_Size) ? (nic_data.RAM_Size >> 2) : 64); |
865 | 867 | ||