aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/faraday/ftgmac100.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-18 08:37:04 +1000
committerDavid S. Miller <davem@davemloft.net>2017-04-18 14:11:09 -0400
commit33de693248b45640c0d894c2454a9909f2e81ffd (patch)
tree369d31e04d9b20b9b9064e7faf3fd6d5e99bdf43 /drivers/net/ethernet/faraday/ftgmac100.c
parentftgmac100: Allow configuration of phy interface via device-tree (diff)
downloadlinux-dev-33de693248b45640c0d894c2454a9909f2e81ffd.tar.xz
linux-dev-33de693248b45640c0d894c2454a9909f2e81ffd.zip
ftgmac100: Display the discovered PHY device info
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/faraday/ftgmac100.c')
-rw-r--r--drivers/net/ethernet/faraday/ftgmac100.c3
1 files changed, 3 insertions, 0 deletions
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;
}