aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/macb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/macb.c')
-rw-r--r--drivers/net/macb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index c6707580c305..047ea7be4850 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -1071,6 +1071,7 @@ static int __devinit macb_probe(struct platform_device *pdev)
1071 unsigned long pclk_hz; 1071 unsigned long pclk_hz;
1072 u32 config; 1072 u32 config;
1073 int err = -ENXIO; 1073 int err = -ENXIO;
1074 DECLARE_MAC_BUF(mac);
1074 1075
1075 regs = platform_get_resource(pdev, IORESOURCE_MEM, 0); 1076 regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
1076 if (!regs) { 1077 if (!regs) {
@@ -1190,10 +1191,9 @@ static int __devinit macb_probe(struct platform_device *pdev)
1190 platform_set_drvdata(pdev, dev); 1191 platform_set_drvdata(pdev, dev);
1191 1192
1192 printk(KERN_INFO "%s: Atmel MACB at 0x%08lx irq %d " 1193 printk(KERN_INFO "%s: Atmel MACB at 0x%08lx irq %d "
1193 "(%02x:%02x:%02x:%02x:%02x:%02x)\n", 1194 "(%s)\n",
1194 dev->name, dev->base_addr, dev->irq, 1195 dev->name, dev->base_addr, dev->irq,
1195 dev->dev_addr[0], dev->dev_addr[1], dev->dev_addr[2], 1196 print_mac(mac, dev->dev_addr));
1196 dev->dev_addr[3], dev->dev_addr[4], dev->dev_addr[5]);
1197 1197
1198 phydev = bp->phy_dev; 1198 phydev = bp->phy_dev;
1199 printk(KERN_INFO "%s: attached PHY driver [%s] " 1199 printk(KERN_INFO "%s: attached PHY driver [%s] "