diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-04-18 01:37:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-18 21:11:09 +0300 |
commit | 33de693248b45640c0d894c2454a9909f2e81ffd (patch) | |
tree | 369d31e04d9b20b9b9064e7faf3fd6d5e99bdf43 /drivers/net/ethernet/faraday/ftgmac100.c | |
parent | abcc3eb00e10af3a0c5df90ce515ebde5fc12319 (diff) | |
download | linux-33de693248b45640c0d894c2454a9909f2e81ffd.tar.xz |
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.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 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; } |