Commit cd39c7a5 authored by Finn Thain's avatar Finn Thain Committed by David S. Miller

mac8390: use printk MAC address format

mac8390: use printk MAC address format
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ccffad25
...@@ -620,19 +620,12 @@ static int __init mac8390_initdev(struct net_device * dev, struct nubus_dev * nd ...@@ -620,19 +620,12 @@ static int __init mac8390_initdev(struct net_device * dev, struct nubus_dev * nd
/* Good, done, now spit out some messages */ /* Good, done, now spit out some messages */
printk(KERN_INFO "%s: %s in slot %X (type %s)\n", printk(KERN_INFO "%s: %s in slot %X (type %s)\n",
dev->name, ndev->board->name, ndev->board->slot, cardname[type]); dev->name, ndev->board->name, ndev->board->slot, cardname[type]);
printk(KERN_INFO "MAC "); printk(KERN_INFO
{ "MAC %pM IRQ %d, %d KB shared memory at %#lx, %d-bit access.\n",
int i; dev->dev_addr, dev->irq,
for (i = 0; i < 6; i++) { (unsigned int)(dev->mem_end - dev->mem_start) >> 10,
printk("%2.2x", dev->dev_addr[i]); dev->mem_start, access_bitmode ? 32 : 16);
if (i < 5)
printk(":");
}
}
printk(" IRQ %d, %d KB shared memory at %#lx, %d-bit access.\n",
dev->irq, (int)((dev->mem_end - dev->mem_start)/0x1000) * 4,
dev->mem_start, access_bitmode?32:16);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment