aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/lne390.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/lne390.c')
-rw-r--r--drivers/net/lne390.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/lne390.c b/drivers/net/lne390.c
index 2dd396983213..b36989097883 100644
--- a/drivers/net/lne390.c
+++ b/drivers/net/lne390.c
@@ -169,6 +169,7 @@ static int __init lne390_probe1(struct net_device *dev, int ioaddr)
169{ 169{
170 int i, revision, ret; 170 int i, revision, ret;
171 unsigned long eisa_id; 171 unsigned long eisa_id;
172 DECLARE_MAC_BUF(mac);
172 173
173 if (inb_p(ioaddr + LNE390_ID_PORT) == 0xff) return -ENODEV; 174 if (inb_p(ioaddr + LNE390_ID_PORT) == 0xff) return -ENODEV;
174 175
@@ -200,10 +201,12 @@ static int __init lne390_probe1(struct net_device *dev, int ioaddr)
200 } 201 }
201#endif 202#endif
202 203
203 printk("lne390.c: LNE390%X in EISA slot %d, address", 0xa+revision, ioaddr/0x1000);
204 for(i = 0; i < ETHER_ADDR_LEN; i++) 204 for(i = 0; i < ETHER_ADDR_LEN; i++)
205 printk(" %02x", (dev->dev_addr[i] = inb(ioaddr + LNE390_SA_PROM + i))); 205 dev->dev_addr[i] = inb(ioaddr + LNE390_SA_PROM + i);
206 printk(".\nlne390.c: "); 206 printk("lne390.c: LNE390%X in EISA slot %d, address %s.\n",
207 0xa+revision, ioaddr/0x1000, print_mac(mac, dev->dev_addr));
208
209 printk("lne390.c: ");
207 210
208 /* Snarf the interrupt now. CFG file has them all listed as `edge' with share=NO */ 211 /* Snarf the interrupt now. CFG file has them all listed as `edge' with share=NO */
209 if (dev->irq == 0) { 212 if (dev->irq == 0) {