diff options
Diffstat (limited to 'drivers/net/declance.c')
-rw-r--r-- | drivers/net/declance.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/declance.c b/drivers/net/declance.c index 7e7ac3330e60..00e0194bfef0 100644 --- a/drivers/net/declance.c +++ b/drivers/net/declance.c | |||
@@ -1027,6 +1027,7 @@ static int __init dec_lance_probe(struct device *bdev, const int type) | |||
1027 | int i, ret; | 1027 | int i, ret; |
1028 | unsigned long esar_base; | 1028 | unsigned long esar_base; |
1029 | unsigned char *esar; | 1029 | unsigned char *esar; |
1030 | DECLARE_MAC_BUF(mac); | ||
1030 | 1031 | ||
1031 | if (dec_lance_debug && version_printed++ == 0) | 1032 | if (dec_lance_debug && version_printed++ == 0) |
1032 | printk(version); | 1033 | printk(version); |
@@ -1214,21 +1215,20 @@ static int __init dec_lance_probe(struct device *bdev, const int type) | |||
1214 | */ | 1215 | */ |
1215 | switch (type) { | 1216 | switch (type) { |
1216 | case ASIC_LANCE: | 1217 | case ASIC_LANCE: |
1217 | printk("%s: IOASIC onboard LANCE, addr = ", name); | 1218 | printk("%s: IOASIC onboard LANCE", name); |
1218 | break; | 1219 | break; |
1219 | case PMAD_LANCE: | 1220 | case PMAD_LANCE: |
1220 | printk("%s: PMAD-AA, addr = ", name); | 1221 | printk("%s: PMAD-AA", name); |
1221 | break; | 1222 | break; |
1222 | case PMAX_LANCE: | 1223 | case PMAX_LANCE: |
1223 | printk("%s: PMAX onboard LANCE, addr = ", name); | 1224 | printk("%s: PMAX onboard LANCE", name); |
1224 | break; | 1225 | break; |
1225 | } | 1226 | } |
1226 | for (i = 0; i < 6; i++) { | 1227 | for (i = 0; i < 6; i++) |
1227 | dev->dev_addr[i] = esar[i * 4]; | 1228 | dev->dev_addr[i] = esar[i * 4]; |
1228 | printk("%2.2x%c", dev->dev_addr[i], i == 5 ? ',' : ':'); | ||
1229 | } | ||
1230 | 1229 | ||
1231 | printk(" irq = %d\n", dev->irq); | 1230 | printk(", addr = %s, irq = %d\n", |
1231 | print_mac(mac, dev->dev_addr), dev->irq); | ||
1232 | 1232 | ||
1233 | dev->open = &lance_open; | 1233 | dev->open = &lance_open; |
1234 | dev->stop = &lance_close; | 1234 | dev->stop = &lance_close; |