diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2013-12-06 13:01:30 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-09 20:38:58 -0500 |
commit | 114002bc1af6c63de4c003f8c5d3ca0bb430d987 (patch) | |
tree | 1bd189225054a8313dac7025d41c194887f72248 /drivers/net/phy/mdio-gpio.c | |
parent | 73713357ab58aacda1af715bb5a623528dbbfd79 (diff) | |
download | talos-op-linux-114002bc1af6c63de4c003f8c5d3ca0bb430d987.tar.gz talos-op-linux-114002bc1af6c63de4c003f8c5d3ca0bb430d987.zip |
net: phy: report link partner features through ethtool
The PHY library already reads the MII_STAT1000 and MII_LPA registers in
genphy_read_status(), so extend it to also populate the PHY device link
partner advertised features such that we can feed this back into ethtool
when asked for it in phy_ethtool_gset().
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-gpio.c')
0 files changed, 0 insertions, 0 deletions