diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-05-30 15:21:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-29 11:00:31 (GMT) |
commit | ffa96c1a6afe251d667ae9a9d83f1ef87c3b029e (patch) | |
tree | 6a20579c1183340d0ebfa182ed923ac8c3bbf43b /Makefile | |
parent | 5da6415e427beaca48ae4f0d7385e2bcdba5b308 (diff) | |
download | linux-ffa96c1a6afe251d667ae9a9d83f1ef87c3b029e.tar.xz |
net: phy: fix marvell phy status reading
commit 898805e0cdf7fd860ec21bf661d3a0285a3defbd upstream.
The Marvell driver incorrectly provides phydev->lp_advertising as the
logical and of the link partner's advert and our advert. This is
incorrect - this field is supposed to store the link parter's unmodified
advertisment.
This allows ethtool to report the correct link partner auto-negotiation
status.
Fixes: be937f1f89ca ("Marvell PHY m88e1111 driver fix")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions