2022-07-14 06:55:58 +00:00
|
|
|
From ebd924d773223593142d417c41d4ee6fa16f1805 Mon Sep 17 00:00:00 2001
|
|
|
|
From: OpenWrt community <openwrt-devel@lists.openwrt.org>
|
|
|
|
Date: Wed, 13 Jul 2022 13:45:56 +0200
|
|
|
|
Subject: [PATCH] net/dsa/mv88e6xxx: disable ATU violation
|
|
|
|
|
|
|
|
---
|
|
|
|
drivers/net/dsa/mv88e6xxx/chip.c | 3 +++
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
2021-11-04 20:52:43 +00:00
|
|
|
--- a/drivers/net/dsa/mv88e6xxx/chip.c
|
|
|
|
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
|
2024-06-29 16:44:56 +00:00
|
|
|
@@ -3005,6 +3005,9 @@ static int mv88e6xxx_setup_port(struct m
|
2022-03-21 14:21:45 +00:00
|
|
|
else
|
|
|
|
reg = 1 << port;
|
2021-11-04 20:52:43 +00:00
|
|
|
|
|
|
|
+ /* 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)
|