Commit 66058b1c authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller

Revert ("r8169: remove 1000/Half from supported modes")

This reverts commit a6851c61.
It was reported that RTL8111b successfully finishes 1000/Full autoneg
but no data flows. Reverting the original patch fixes the issue.
It seems to be a HW issue with the integrated RTL8211B PHY. This PHY
version used also e.g. on RTL8168d, so better revert the original patch.
Reported-by: default avatarBernhard Held <berny156@gmx.de>
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8aace4f3
...@@ -6136,10 +6136,7 @@ static int r8169_phy_connect(struct rtl8169_private *tp) ...@@ -6136,10 +6136,7 @@ static int r8169_phy_connect(struct rtl8169_private *tp)
if (ret) if (ret)
return ret; return ret;
if (tp->supports_gmii) if (!tp->supports_gmii)
phy_remove_link_mode(phydev,
ETHTOOL_LINK_MODE_1000baseT_Half_BIT);
else
phy_set_max_speed(phydev, SPEED_100); phy_set_max_speed(phydev, SPEED_100);
phy_support_asym_pause(phydev); phy_support_asym_pause(phydev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment