From: Markus Stockhausen Date: Mon, 9 Sep 2024 07:28:58 +0000 (-0400) Subject: realtek: 6.6: refresh patch drivers-net-phy-eee-support-for-rtl838x X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca61a28d48ea572d1314345e06fdf2feeac630cb;p=openwrt%2Fstaging%2Fthess.git realtek: 6.6: refresh patch drivers-net-phy-eee-support-for-rtl838x No content changes. One hook had to be adapted. Signed-off-by: Markus Stockhausen --- diff --git a/target/linux/realtek/patches-6.6/708-drivers-net-phy-eee-support-for-rtl838x.patch b/target/linux/realtek/patches-6.6/708-drivers-net-phy-eee-support-for-rtl838x.patch index bf6e517cfb..305981c3ee 100644 --- a/target/linux/realtek/patches-6.6/708-drivers-net-phy-eee-support-for-rtl838x.patch +++ b/target/linux/realtek/patches-6.6/708-drivers-net-phy-eee-support-for-rtl838x.patch @@ -21,7 +21,7 @@ Submitted-by: John Crispin --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c -@@ -1994,6 +1994,11 @@ int phylink_ethtool_ksettings_set(struct +@@ -2484,6 +2484,11 @@ int phylink_ethtool_ksettings_set(struct * the presence of a PHY, this should not be changed as that * should be determined from the media side advertisement. */ @@ -30,10 +30,10 @@ Submitted-by: John Crispin + pl->phydev->drv->set_port(pl->phydev, kset->base.port); + } + } - return phy_ethtool_ksettings_set(pl->phydev, kset); + return phy_ethtool_ksettings_set(pl->phydev, &phy_kset); } -@@ -2297,8 +2302,11 @@ int phylink_ethtool_get_eee(struct phyli +@@ -2786,8 +2791,11 @@ int phylink_ethtool_get_eee(struct phyli ASSERT_RTNL(); @@ -46,7 +46,7 @@ Submitted-by: John Crispin return ret; } -@@ -2315,8 +2323,11 @@ int phylink_ethtool_set_eee(struct phyli +@@ -2804,8 +2812,11 @@ int phylink_ethtool_set_eee(struct phyli ASSERT_RTNL();