aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ac3200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ac3200.c')
-rw-r--r--drivers/net/ac3200.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ac3200.c b/drivers/net/ac3200.c
index 65b2de56ed22..5136d94923aa 100644
--- a/drivers/net/ac3200.c
+++ b/drivers/net/ac3200.c
@@ -146,6 +146,7 @@ out:
146static int __init ac_probe1(int ioaddr, struct net_device *dev) 146static int __init ac_probe1(int ioaddr, struct net_device *dev)
147{ 147{
148 int i, retval; 148 int i, retval;
149 DECLARE_MAC_BUF(mac);
149 150
150 if (!request_region(ioaddr, AC_IO_EXTENT, DRV_NAME)) 151 if (!request_region(ioaddr, AC_IO_EXTENT, DRV_NAME))
151 return -EBUSY; 152 return -EBUSY;
@@ -167,10 +168,11 @@ static int __init ac_probe1(int ioaddr, struct net_device *dev)
167 inb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3)); 168 inb(ioaddr + AC_ID_PORT + 2), inb(ioaddr + AC_ID_PORT + 3));
168#endif 169#endif
169 170
170 printk("AC3200 in EISA slot %d, node", ioaddr/0x1000); 171 for (i = 0; i < 6; i++)
171 for(i = 0; i < 6; i++) 172 dev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i);
172 printk(" %02x", dev->dev_addr[i] = inb(ioaddr + AC_SA_PROM + i));
173 173
174 printk(KERN_DEBUG "AC3200 in EISA slot %d, node %s",
175 ioaddr/0x1000, print_mac(mac, dev->dev_addr));
174#if 0 176#if 0
175 /* Check the vendor ID/prefix. Redundant after checking the EISA ID */ 177 /* Check the vendor ID/prefix. Redundant after checking the EISA ID */
176 if (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0 178 if (inb(ioaddr + AC_SA_PROM + 0) != AC_ADDR0