diff options
Diffstat (limited to 'drivers/net/mac8390.c')
-rw-r--r-- | drivers/net/mac8390.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/drivers/net/mac8390.c b/drivers/net/mac8390.c index 8e884869a05b..0585df1e2c1b 100644 --- a/drivers/net/mac8390.c +++ b/drivers/net/mac8390.c | |||
@@ -620,19 +620,12 @@ static int __init mac8390_initdev(struct net_device * dev, struct nubus_dev * nd | |||
620 | 620 | ||
621 | /* Good, done, now spit out some messages */ | 621 | /* Good, done, now spit out some messages */ |
622 | printk(KERN_INFO "%s: %s in slot %X (type %s)\n", | 622 | printk(KERN_INFO "%s: %s in slot %X (type %s)\n", |
623 | dev->name, ndev->board->name, ndev->board->slot, cardname[type]); | 623 | dev->name, ndev->board->name, ndev->board->slot, cardname[type]); |
624 | printk(KERN_INFO "MAC "); | 624 | printk(KERN_INFO |
625 | { | 625 | "MAC %pM IRQ %d, %d KB shared memory at %#lx, %d-bit access.\n", |
626 | int i; | 626 | dev->dev_addr, dev->irq, |
627 | for (i = 0; i < 6; i++) { | 627 | (unsigned int)(dev->mem_end - dev->mem_start) >> 10, |
628 | printk("%2.2x", dev->dev_addr[i]); | 628 | dev->mem_start, access_bitmode ? 32 : 16); |
629 | if (i < 5) | ||
630 | printk(":"); | ||
631 | } | ||
632 | } | ||
633 | printk(" IRQ %d, %d KB shared memory at %#lx, %d-bit access.\n", | ||
634 | dev->irq, (int)((dev->mem_end - dev->mem_start)/0x1000) * 4, | ||
635 | dev->mem_start, access_bitmode?32:16); | ||
636 | return 0; | 629 | return 0; |
637 | } | 630 | } |
638 | 631 | ||