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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2019 03:43:23 +0000 (19:43 -0800)
commitc14f07c6211cc01d52ed92cce1fade5071b8d197
treeb5b740f5c112618091aba3e2f284099be07142c8
parente7b816415e031bf7879ffd234c5e4f4fcec13a74
Revert "net: phy: marvell: avoid pause mode on SGMII-to-Copper for 88e151x"

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>
drivers/net/phy/marvell.c