generic: Support Altima AMI101L PHY
[openwrt/openwrt.git] / target / linux / generic / backport-6.1 / 790-v6.4-0002-net-dsa-mt7530-refactor-SGMII-PCS-creation.patch
index 4f255abc5bc92f7f3c2db76238726ba1255ace7f..56674492967b53a3ac742ae3ed1f98baa2b118ad 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
 
 --- a/drivers/net/dsa/mt7530.c
 +++ b/drivers/net/dsa/mt7530.c
-@@ -2950,26 +2950,56 @@ static const struct regmap_bus mt7531_re
+@@ -2968,26 +2968,56 @@ static const struct regmap_bus mt7531_re
        .reg_update_bits = mt7530_regmap_update_bits,
  };
  
@@ -88,7 +88,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
        int i, ret;
  
        /* Initialise the PCS devices */
-@@ -2991,15 +3021,11 @@ mt753x_setup(struct dsa_switch *ds)
+@@ -3009,15 +3039,11 @@ mt753x_setup(struct dsa_switch *ds)
        if (ret && priv->irq)
                mt7530_free_irq_common(priv);