diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-04-18 08:37:04 +1000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-18 14:11:09 -0400 |
commit | 33de693248b45640c0d894c2454a9909f2e81ffd (patch) | |
tree | 369d31e04d9b20b9b9064e7faf3fd6d5e99bdf43 | |
parent | abcc3eb00e10af3a0c5df90ce515ebde5fc12319 (diff) | |
download | op-kernel-dev-33de693248b45640c0d894c2454a9909f2e81ffd.zip op-kernel-dev-33de693248b45640c0d894c2454a9909f2e81ffd.tar.gz |
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>
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 7721c2a..45b8267 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; } |