]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
generic: fix kernel version and ordering of Aquantia backports
authorDaniel Golle <daniel@makrotopia.org>
Tue, 15 Oct 2024 20:15:19 +0000 (21:15 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 15 Oct 2024 20:20:19 +0000 (21:20 +0100)
Two patches declared as accepted in v6.13 were already accepted for
v6.12. Fix filenames and order of patches applied.

Reported-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Fixes: 8cc049cec2 ("generic: phy: aquantia: move accepted patches to backport-6.6")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/backport-6.6/837-v6.12-net-phy-aquantia-fix-setting-active_low-bit.patch [moved from target/linux/generic/backport-6.6/839-v6.13-net-phy-aquantia-fix-setting-active_low-bit.patch with 100% similarity]
target/linux/generic/backport-6.6/838-v6.12-net-phy-aquantia-fix-applying-active_low-bit-after-reset.patch [moved from target/linux/generic/backport-6.6/840-v6.13-net-phy-aquantia-fix-applying-active_low-bit-after-reset.patch with 95% similarity]
target/linux/generic/backport-6.6/839-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch [moved from target/linux/generic/backport-6.6/837-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch with 98% similarity]
target/linux/generic/backport-6.6/840-v6.13-net-phy-aquantia-fix-return-value-check-in-aqr107_co.patch [moved from target/linux/generic/backport-6.6/838-v6.13-net-phy-aquantia-fix-return-value-check-in-aqr107_co.patch with 100% similarity]

similarity index 95%
rename from target/linux/generic/backport-6.6/840-v6.13-net-phy-aquantia-fix-applying-active_low-bit-after-reset.patch
rename to target/linux/generic/backport-6.6/838-v6.12-net-phy-aquantia-fix-applying-active_low-bit-after-reset.patch
index 6d71b3d7a52f80e4dd6428735cd446c18dffbf5e..5c3494ae331631b128bd55aeb6253d279b0fc047 100644 (file)
@@ -49,7 +49,7 @@ Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
 
 --- a/drivers/net/phy/aquantia/aquantia_main.c
 +++ b/drivers/net/phy/aquantia/aquantia_main.c
-@@ -530,7 +530,7 @@ static int aqr107_config_init(struct phy
+@@ -501,7 +501,7 @@ static int aqr107_config_init(struct phy
  {
        struct aqr107_priv *priv = phydev->priv;
        u32 led_active_low;
@@ -58,7 +58,7 @@ Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
  
        /* Check that the PHY interface type is compatible */
        if (phydev->interface != PHY_INTERFACE_MODE_SGMII &&
-@@ -570,10 +570,9 @@ static int aqr107_config_init(struct phy
+@@ -537,10 +537,9 @@ static int aqr107_config_init(struct phy
  
        /* Restore LED polarity state after reset */
        for_each_set_bit(led_active_low, &priv->leds_active_low, AQR_MAX_LEDS) {
similarity index 98%
rename from target/linux/generic/backport-6.6/837-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch
rename to target/linux/generic/backport-6.6/839-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch
index 9522bcaa4518ff4f7401e61f8213bfd0f7d6a318..c1655ce71e74dbe8f668d574725f920e66776b91 100644 (file)
@@ -104,4 +104,4 @@ Signed-off-by: Jakub Kicinski <kuba@kernel.org>
 +
        /* Restore LED polarity state after reset */
        for_each_set_bit(led_active_low, &priv->leds_active_low, AQR_MAX_LEDS) {
-               ret = aqr_phy_led_active_low_set(phydev, index, led_active_low);
+               ret = aqr_phy_led_active_low_set(phydev, led_active_low, true);