commit | 357cd64c18404309aabefb82019b12773de31a12 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Sep 24 00:07:17 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 25 12:23:47 2015 -0700 |
tree | 54df6b088525148348d0601dd7a8bf68753234a6 | |
parent | b626ef0128d254d33ee43c51d68f577bbec370ac [diff] |
phy: marvell: add link partner advertised modes Read the standard link partner advertisment registers and store it in phydev->lp_advertising, so ethtool can report this information to userspace via ethtool. Zero it as per genphy if autonegotiation is disabled. Tested with a Marvell 88E1512 PHY. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>