f09ad117b0d18dc64f73649e8fa0c44ffd4efb4d
[openwrt/staging/stintel.git] / target / linux / generic / hack-6.1 / 711-net-dsa-mv88e6xxx-disable-ATU-violation.patch
1 From ebd924d773223593142d417c41d4ee6fa16f1805 Mon Sep 17 00:00:00 2001
2 From: OpenWrt community <openwrt-devel@lists.openwrt.org>
3 Date: Wed, 13 Jul 2022 13:45:56 +0200
4 Subject: [PATCH] net/dsa/mv88e6xxx: disable ATU violation
5
6 ---
7 drivers/net/dsa/mv88e6xxx/chip.c | 3 +++
8 1 file changed, 3 insertions(+)
9
10 --- a/drivers/net/dsa/mv88e6xxx/chip.c
11 +++ b/drivers/net/dsa/mv88e6xxx/chip.c
12 @@ -3488,6 +3488,9 @@ static int mv88e6xxx_setup_port(struct m
13 else
14 reg = 1 << port;
15
16 + /* Disable ATU member violation interrupt */
17 + reg |= MV88E6XXX_PORT_ASSOC_VECTOR_IGNORE_WRONG;
18 +
19 err = mv88e6xxx_port_write(chip, port, MV88E6XXX_PORT_ASSOC_VECTOR,
20 reg);
21 if (err)