From: Benjamin Herrenschmidt Date: Mon, 17 Apr 2017 22:37:04 +0000 (+1000) Subject: ftgmac100: Display the discovered PHY device info X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~7946^2~162^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=33de693248b45640c0d894c2454a9909f2e81ffd;p=mirror_ubuntu-focal-kernel.git ftgmac100: Display the discovered PHY device info Signed-off-by: Benjamin Herrenschmidt Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 7721c2ab24ef..45b8267b81b7 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -1077,6 +1077,9 @@ static int ftgmac100_mii_probe(struct ftgmac100 *priv, phy_interface_t intf) phydev->supported |= SUPPORTED_Pause | SUPPORTED_Asym_Pause; phydev->advertising = phydev->supported; + /* Display what we found */ + phy_attached_info(phydev); + return 0; }