kernel: add patch to support en25qh256a
[openwrt/openwrt.git] / target / linux / generic / backport-5.10 / 770-v5.15-net-dsa-mt7530-support-MDB-operations.patch
index 450fff07a6114456806f9721e6315227f3246959..99f49972ff6b8122c5a8dd82ae0491c371eaadbc 100644 (file)
@@ -14,7 +14,7 @@ Signed-off-by: DENG Qingfang <dqfext@gmail.com>
 
 --- a/drivers/net/dsa/mt7530.c
 +++ b/drivers/net/dsa/mt7530.c
-@@ -998,9 +998,6 @@ mt753x_cpu_port_enable(struct dsa_switch
+@@ -1001,9 +1001,6 @@ mt753x_cpu_port_enable(struct dsa_switch
        mt7530_write(priv, MT7530_PVC_P(port),
                     PORT_SPEC_TAG);
  
@@ -24,7 +24,7 @@ Signed-off-by: DENG Qingfang <dqfext@gmail.com>
        /* Set CPU port number */
        if (priv->id == ID_MT7621)
                mt7530_rmw(priv, MT7530_MFC, CPU_MASK, CPU_EN | CPU_PORT(port));
-@@ -1131,6 +1128,20 @@ mt7530_stp_state_set(struct dsa_switch *
+@@ -1134,6 +1131,20 @@ mt7530_stp_state_set(struct dsa_switch *
  }
  
  static int
@@ -45,7 +45,7 @@ Signed-off-by: DENG Qingfang <dqfext@gmail.com>
  mt7530_port_bridge_join(struct dsa_switch *ds, int port,
                        struct net_device *bridge)
  {
-@@ -1331,6 +1342,63 @@ err:
+@@ -1334,6 +1345,63 @@ err:
  }
  
  static int
@@ -109,7 +109,7 @@ Signed-off-by: DENG Qingfang <dqfext@gmail.com>
  mt7530_vlan_cmd(struct mt7530_priv *priv, enum mt7530_vlan_cmd cmd, u16 vid)
  {
        struct mt7530_dummy_poll p;
-@@ -2746,11 +2814,15 @@ static const struct dsa_switch_ops mt753
+@@ -2743,11 +2811,15 @@ static const struct dsa_switch_ops mt753
        .port_change_mtu        = mt7530_port_change_mtu,
        .port_max_mtu           = mt7530_port_max_mtu,
        .port_stp_state_set     = mt7530_stp_state_set,