Commit b05c76a1 authored by LABBE Corentin's avatar LABBE Corentin Committed by David S. Miller

net: stmmac: print phy information

When a PHY is found, printing which one was found (and which type/model) is
a good information to know.
Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e0a76606
...@@ -870,9 +870,7 @@ static int stmmac_init_phy(struct net_device *dev) ...@@ -870,9 +870,7 @@ static int stmmac_init_phy(struct net_device *dev)
if (phydev->is_pseudo_fixed_link) if (phydev->is_pseudo_fixed_link)
phydev->irq = PHY_POLL; phydev->irq = PHY_POLL;
netdev_dbg(priv->dev, "%s: attached to PHY (UID 0x%x) Link = %d\n", phy_attached_info(phydev);
__func__, phydev->phy_id, phydev->link);
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