diff options
Diffstat (limited to 'drivers/net/tokenring/proteon.c')
-rw-r--r-- | drivers/net/tokenring/proteon.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/tokenring/proteon.c b/drivers/net/tokenring/proteon.c index 85d156dea033..ca6b65919b3d 100644 --- a/drivers/net/tokenring/proteon.c +++ b/drivers/net/tokenring/proteon.c | |||
@@ -122,6 +122,7 @@ static int __init setup_card(struct net_device *dev, struct device *pdev) | |||
122 | static int versionprinted; | 122 | static int versionprinted; |
123 | const unsigned *port; | 123 | const unsigned *port; |
124 | int j,err = 0; | 124 | int j,err = 0; |
125 | DECLARE_MAC_BUF(mac); | ||
125 | 126 | ||
126 | if (!dev) | 127 | if (!dev) |
127 | return -ENOMEM; | 128 | return -ENOMEM; |
@@ -152,11 +153,8 @@ static int __init setup_card(struct net_device *dev, struct device *pdev) | |||
152 | 153 | ||
153 | proteon_read_eeprom(dev); | 154 | proteon_read_eeprom(dev); |
154 | 155 | ||
155 | printk(KERN_DEBUG "proteon.c: Ring Station Address: "); | 156 | printk(KERN_DEBUG "proteon.c: Ring Station Address: %s\n", |
156 | printk("%2.2x", dev->dev_addr[0]); | 157 | print_mac(mac, dev->dev_addr)); |
157 | for (j = 1; j < 6; j++) | ||
158 | printk(":%2.2x", dev->dev_addr[j]); | ||
159 | printk("\n"); | ||
160 | 158 | ||
161 | tp = netdev_priv(dev); | 159 | tp = netdev_priv(dev); |
162 | tp->setnselout = proteon_setnselout_pins; | 160 | tp->setnselout = proteon_setnselout_pins; |