Revert "net: phy: marvell: avoid pause mode on SGMII-to-Copper for 88e151x"
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 31 Jan 2019 16:59:46 +0000 (16:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:47:22 +0000 (19:47 +0100)
commit7c1a5ce672f71be742429644b58f4c7cec6a4af2
tree34baf3819750de12dcd439e5d2271dba6e42383a
parentf2f054c485db6409c3f422f573f0e713ac13c940
Revert "net: phy: marvell: avoid pause mode on SGMII-to-Copper for 88e151x"

[ Upstream commit c14f07c6211cc01d52ed92cce1fade5071b8d197 ]

This reverts commit 6623c0fba10ef45b64ca213ad5dec926f37fa9a0.

The original diagnosis was incorrect: it appears that the NIC had
PHY polling mode enabled, which meant that it overwrote the PHYs
advertisement register during negotiation.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Tested-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/phy/marvell.c