Patch "net: phy: fix marvell phy status reading" has been added to the 3.18-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
net: phy: fix marvell phy status reading
to the 3.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-phy-fix-marvell-phy-status-reading.patch
and it can be found in the queue-3.18 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
898805e0cdf7fd860ec21bf661d3a0285a3defbdMon Sep 17 00:00:00 2001
From: Russell King <[email protected]>
Date: Tue, 30 May 2017 16:21:51 +0100
Subject: net: phy: fix marvell phy status reading
From: Russell King <[email protected]>
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.
--- drivers/net/phy/marvell.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/phy/marvell.c +0 -2
@@ -737,8 +737,6 @@ static int marvell_read_status(struct phif (adv <0 )return adv; - lpa &= adv; -if (status &MII_M1011_PHY_STATUS_FULLDUPLEX ) phydev->duplex =DUPLEX_FULL ;else
Patches currently in stable-queue which might be from [email protected] are
queue-3.18/net-phy-fix-marvell-phy-status-reading.patch