aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp/ppp_generic.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-09-24 00:07:17 +0100
committerDavid S. Miller <davem@davemloft.net>2015-09-25 12:23:47 -0700
commit357cd64c18404309aabefb82019b12773de31a12 (patch)
tree54df6b088525148348d0601dd7a8bf68753234a6 /drivers/net/ppp/ppp_generic.c
parentMerge branch 'phy-mdio-refcnt' (diff)
downloadlinux-dev-357cd64c18404309aabefb82019b12773de31a12.tar.xz
linux-dev-357cd64c18404309aabefb82019b12773de31a12.zip
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/net/ppp/ppp_generic.c')
0 files changed, 0 insertions, 0 deletions