realtek: 6.6: refresh patch drivers-net-phy-eee-support-for-rtl838x
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 9 Sep 2024 07:28:58 +0000 (03:28 -0400)
committerSander Vanheule <sander@svanheule.net>
Sat, 14 Sep 2024 17:58:55 +0000 (19:58 +0200)
No content changes. One hook had to be adapted.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/patches-6.6/708-drivers-net-phy-eee-support-for-rtl838x.patch

index bf6e517cfb9282c35de4aecdb91c0782e5bcfaea..305981c3eec478a27d730440799744b4036930e8 100644 (file)
@@ -21,7 +21,7 @@ Submitted-by: John Crispin <john@phrozen.org>
 
 --- 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 <john@phrozen.org>
 +                              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 <john@phrozen.org>
  
        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();