aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/meth.c')
-rw-r--r--drivers/net/meth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/meth.c b/drivers/net/meth.c
index fe5b6c372072..e25dbab67363 100644
--- a/drivers/net/meth.c
+++ b/drivers/net/meth.c
@@ -95,11 +95,11 @@ char o2meth_eaddr[8]={0,0,0,0,0,0,0,0};
95static inline void load_eaddr(struct net_device *dev) 95static inline void load_eaddr(struct net_device *dev)
96{ 96{
97 int i; 97 int i;
98 DPRINTK("Loading MAC Address: %02x:%02x:%02x:%02x:%02x:%02x\n", 98 DECLARE_MAC_BUF(mac);
99 (int)o2meth_eaddr[0]&0xFF,(int)o2meth_eaddr[1]&0xFF,(int)o2meth_eaddr[2]&0xFF, 99
100 (int)o2meth_eaddr[3]&0xFF,(int)o2meth_eaddr[4]&0xFF,(int)o2meth_eaddr[5]&0xFF);
101 for (i = 0; i < 6; i++) 100 for (i = 0; i < 6; i++)
102 dev->dev_addr[i] = o2meth_eaddr[i]; 101 dev->dev_addr[i] = o2meth_eaddr[i];
102 DPRINTK("Loading MAC Address: %s\n", print_mac(mac, dev->dev_addr));
103 mace->eth.mac_addr = (*(unsigned long*)o2meth_eaddr) >> 16; 103 mace->eth.mac_addr = (*(unsigned long*)o2meth_eaddr) >> 16;
104} 104}
105 105