ftgmac100: Display the discovered PHY device info
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 17 Apr 2017 22:37:04 +0000 (08:37 +1000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 18:11:09 +0000 (14:11 -0400)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/ftgmac100.c

index 7721c2a..45b8267 100644 (file)
@@ -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;
 }