diff options
Diffstat (limited to 'drivers/net/sunbmac.c')
-rw-r--r-- | drivers/net/sunbmac.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c index 4ba3e4857e90..fe3ac6f9ae89 100644 --- a/drivers/net/sunbmac.c +++ b/drivers/net/sunbmac.c | |||
@@ -1082,6 +1082,7 @@ static int __init bigmac_ether_init(struct sbus_dev *qec_sdev) | |||
1082 | struct bigmac *bp; | 1082 | struct bigmac *bp; |
1083 | u8 bsizes, bsizes_more; | 1083 | u8 bsizes, bsizes_more; |
1084 | int i; | 1084 | int i; |
1085 | DECLARE_MAC_BUF(mac); | ||
1085 | 1086 | ||
1086 | /* Get a new device struct for this interface. */ | 1087 | /* Get a new device struct for this interface. */ |
1087 | dev = alloc_etherdev(sizeof(struct bigmac)); | 1088 | dev = alloc_etherdev(sizeof(struct bigmac)); |
@@ -1226,11 +1227,8 @@ static int __init bigmac_ether_init(struct sbus_dev *qec_sdev) | |||
1226 | 1227 | ||
1227 | dev_set_drvdata(&bp->bigmac_sdev->ofdev.dev, bp); | 1228 | dev_set_drvdata(&bp->bigmac_sdev->ofdev.dev, bp); |
1228 | 1229 | ||
1229 | printk(KERN_INFO "%s: BigMAC 100baseT Ethernet ", dev->name); | 1230 | printk(KERN_INFO "%s: BigMAC 100baseT Ethernet %s\n", |
1230 | for (i = 0; i < 6; i++) | 1231 | dev->name, print_mac(mac, dev->dev_addr)); |
1231 | printk("%2.2x%c", dev->dev_addr[i], | ||
1232 | i == 5 ? ' ' : ':'); | ||
1233 | printk("\n"); | ||
1234 | 1232 | ||
1235 | return 0; | 1233 | return 0; |
1236 | 1234 | ||