Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -870,9 +870,7 @@ static int stmmac_init_phy(struct net_device *dev)
	if (phydev->is_pseudo_fixed_link)
		phydev->irq = PHY_POLL;

	netdev_dbg(priv->dev, "%s: attached to PHY (UID 0x%x) Link = %d\n",
		   __func__, phydev->phy_id, phydev->link);

	phy_attached_info(phydev);
	return 0;
}