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 <markus.stockhausen@gmx.de>
This commit is contained in:
Markus Stockhausen 2024-09-09 03:28:58 -04:00 committed by Sander Vanheule
parent a8bf6c25bf
commit ca61a28d48

View File

@ -21,7 +21,7 @@ Submitted-by: John Crispin <john@phrozen.org>
--- a/drivers/net/phy/phylink.c --- a/drivers/net/phy/phylink.c
+++ b/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 * the presence of a PHY, this should not be changed as that
* should be determined from the media side advertisement. * should be determined from the media side advertisement.
*/ */
@ -30,10 +30,10 @@ Submitted-by: John Crispin <john@phrozen.org>
+ pl->phydev->drv->set_port(pl->phydev, kset->base.port); + 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(); ASSERT_RTNL();
@ -46,7 +46,7 @@ Submitted-by: John Crispin <john@phrozen.org>
return ret; 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(); ASSERT_RTNL();