From: Russell King Date: Wed, 23 Sep 2015 23:07:17 +0000 (+0100) Subject: phy: marvell: add link partner advertised modes X-Git-Tag: omap-for-v4.3/fixes-rc5~84^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357cd64c18404309aabefb82019b12773de31a12;p=pandora-kernel.git 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 Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-diff-tree failed