aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/au1000_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/au1000_eth.c')
-rw-r--r--drivers/net/au1000_eth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c
index 6d76ccb8e296..4274e4ac963b 100644
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
@@ -458,8 +458,8 @@ static int mii_probe (struct net_device *dev)
458 /* now we are supposed to have a proper phydev, to attach to... */ 458 /* now we are supposed to have a proper phydev, to attach to... */
459 BUG_ON(phydev->attached_dev); 459 BUG_ON(phydev->attached_dev);
460 460
461 phydev = phy_connect(dev, phydev->dev.bus_id, &au1000_adjust_link, 0, 461 phydev = phy_connect(dev, dev_name(&phydev->dev), &au1000_adjust_link,
462 PHY_INTERFACE_MODE_MII); 462 0, PHY_INTERFACE_MODE_MII);
463 463
464 if (IS_ERR(phydev)) { 464 if (IS_ERR(phydev)) {
465 printk(KERN_ERR "%s: Could not attach to PHY\n", dev->name); 465 printk(KERN_ERR "%s: Could not attach to PHY\n", dev->name);
@@ -484,8 +484,8 @@ static int mii_probe (struct net_device *dev)
484 aup->phy_dev = phydev; 484 aup->phy_dev = phydev;
485 485
486 printk(KERN_INFO "%s: attached PHY driver [%s] " 486 printk(KERN_INFO "%s: attached PHY driver [%s] "
487 "(mii_bus:phy_addr=%s, irq=%d)\n", 487 "(mii_bus:phy_addr=%s, irq=%d)\n", dev->name,
488 dev->name, phydev->drv->name, phydev->dev.bus_id, phydev->irq); 488 phydev->drv->name, dev_name(&phydev->dev), phydev->irq);
489 489
490 return 0; 490 return 0;
491} 491}