phy: Centralise print about attached phy
[deliverable/linux.git] / drivers / net / ethernet / ti / davinci_emac.c
index 33bd3b902304f3e737ad08c616d43d9b75c86dce..5d9abedd6b757ca65000e5dea8155acf0eac9412 100644 (file)
@@ -1644,10 +1644,7 @@ static int emac_dev_open(struct net_device *ndev)
                priv->speed = 0;
                priv->duplex = ~0;
 
-               dev_info(emac_dev, "attached PHY driver [%s] "
-                       "(mii_bus:phy_addr=%s, id=%x)\n",
-                       priv->phydev->drv->name, dev_name(&priv->phydev->dev),
-                       priv->phydev->phy_id);
+               phy_attached_info(priv->phydev);
        }
 
        if (!priv->phydev) {
This page took 0.024648 seconds and 5 git commands to generate.