aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.10/711-net-dsa-mv88e6xxx-disable-ATU-violation.patch
blob: 7ec2afb2d2ac2ff65044aba456f7b02c29e6cdd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/drivers/net/dsa/mv88e6xxx/chip.c
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
@@ -2663,6 +2663,9 @@ static int mv88e6xxx_setup_port(struct m
 	if (dsa_is_cpu_port(ds, port))
 		reg = 0;
 
+	/* Disable ATU member violation interrupt */
+	reg |= MV88E6XXX_PORT_ASSOC_VECTOR_IGNORE_WRONG;
+
 	err = mv88e6xxx_port_write(chip, port, MV88E6XXX_PORT_ASSOC_VECTOR,
 				   reg);
 	if (err)