diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-07-27 12:32:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-27 14:29:25 -0700 |
commit | 66058b1ca5651c7671bf2ba27fcf6907fb20bd0b (patch) | |
tree | 70c224bb49ed17d6e86fe55637c5d88bb861d04c /drivers | |
parent | 8aace4f3eba2a3ceb431e18683ea0e1ecbade5cd (diff) | |
download | linux-66058b1ca5651c7671bf2ba27fcf6907fb20bd0b.tar.gz linux-66058b1ca5651c7671bf2ba27fcf6907fb20bd0b.tar.bz2 linux-66058b1ca5651c7671bf2ba27fcf6907fb20bd0b.zip |
Revert ("r8169: remove 1000/Half from supported modes")
This reverts commit a6851c613fd7fccc5d1f28d5d8a0cbe9b0f4e8cc.
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: Bernhard Held <berny156@gmx.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index 6272115b2848..a71dd669a728 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -6136,10 +6136,7 @@ static int r8169_phy_connect(struct rtl8169_private *tp) if (ret) return ret; - if (tp->supports_gmii) - phy_remove_link_mode(phydev, - ETHTOOL_LINK_MODE_1000baseT_Half_BIT); - else + if (!tp->supports_gmii) phy_set_max_speed(phydev, SPEED_100); phy_support_asym_pause(phydev); |