diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-09-24 02:07:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-25 22:23:47 +0300 |
commit | 357cd64c18404309aabefb82019b12773de31a12 (patch) | |
tree | 54df6b088525148348d0601dd7a8bf68753234a6 /drivers/power/da9052-battery.c | |
parent | b626ef0128d254d33ee43c51d68f577bbec370ac (diff) | |
download | linux-357cd64c18404309aabefb82019b12773de31a12.tar.xz |
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>
Diffstat (limited to 'drivers/power/da9052-battery.c')
0 files changed, 0 insertions, 0 deletions