diff options
Diffstat (limited to 'drivers/net/es3210.c')
-rw-r--r-- | drivers/net/es3210.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/es3210.c b/drivers/net/es3210.c index deefa51b8c31..e7df9f4a183d 100644 --- a/drivers/net/es3210.c +++ b/drivers/net/es3210.c | |||
@@ -179,7 +179,6 @@ static int __init es_probe1(struct net_device *dev, int ioaddr) | |||
179 | { | 179 | { |
180 | int i, retval; | 180 | int i, retval; |
181 | unsigned long eisa_id; | 181 | unsigned long eisa_id; |
182 | DECLARE_MAC_BUF(mac); | ||
183 | 182 | ||
184 | if (!request_region(ioaddr + ES_SA_PROM, ES_IO_EXTENT, "es3210")) | 183 | if (!request_region(ioaddr + ES_SA_PROM, ES_IO_EXTENT, "es3210")) |
185 | return -ENODEV; | 184 | return -ENODEV; |
@@ -205,14 +204,14 @@ static int __init es_probe1(struct net_device *dev, int ioaddr) | |||
205 | if (dev->dev_addr[0] != ES_ADDR0 || | 204 | if (dev->dev_addr[0] != ES_ADDR0 || |
206 | dev->dev_addr[1] != ES_ADDR1 || | 205 | dev->dev_addr[1] != ES_ADDR1 || |
207 | dev->dev_addr[2] != ES_ADDR2) { | 206 | dev->dev_addr[2] != ES_ADDR2) { |
208 | printk("es3210.c: card not found %s (invalid_prefix).\n", | 207 | printk("es3210.c: card not found %pM (invalid_prefix).\n", |
209 | print_mac(mac, dev->dev_addr)); | 208 | dev->dev_addr); |
210 | retval = -ENODEV; | 209 | retval = -ENODEV; |
211 | goto out; | 210 | goto out; |
212 | } | 211 | } |
213 | 212 | ||
214 | printk("es3210.c: ES3210 rev. %ld at %#x, node %s", | 213 | printk("es3210.c: ES3210 rev. %ld at %#x, node %pM", |
215 | eisa_id>>24, ioaddr, print_mac(mac, dev->dev_addr)); | 214 | eisa_id>>24, ioaddr, dev->dev_addr); |
216 | 215 | ||
217 | /* Snarf the interrupt now. */ | 216 | /* Snarf the interrupt now. */ |
218 | if (dev->irq == 0) { | 217 | if (dev->irq == 0) { |