Skip to content

Commit 73bfb34

Browse files
author
Rafał Miłecki
committed
bcm53xx: fix switch standalone ports (like "wan")
Fixes: openwrt/openwrt#21187 Fixes: openwrt/openwrt#21349 Fixes: 499a59c ("kernel: bump 6.12 to 6.12.30") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
1 parent d2f0542 commit 73bfb34

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2+
Date: Fri, 27 Feb 2026 19:59:16 +0100
3+
Subject: [PATCH] net: dsa: b53: disable EAP setup on Northstar switches
4+
MIME-Version: 1.0
5+
Content-Type: text/plain; charset=UTF-8
6+
Content-Transfer-Encoding: 8bit
7+
8+
It breaks standalone ports.
9+
10+
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
11+
---
12+
drivers/net/dsa/b53/b53_common.c | 15 +++++++++++++++
13+
1 file changed, 15 insertions(+)
14+
15+
--- a/drivers/net/dsa/b53/b53_common.c
16+
+++ b/drivers/net/dsa/b53/b53_common.c
17+
@@ -332,6 +332,21 @@ static void b53_set_eap_mode(struct b53_
18+
{
19+
u64 eap_conf;
20+
21+
+ /*
22+
+ * On Northstar devices (SoCs with BCM53011 / BCM53012) setting
23+
+ * EAP_MODE_SIMPLIFIED breaks standalone ports.
24+
+ *
25+
+ * See:
26+
+ * https://lore.kernel.org/netdev/ce4d9b7b-aaf6-4796-94fb-8c3d6a1dcd4d@gmail.com/
27+
+ * https://github.com/openwrt/openwrt/issues/21187
28+
+ * https://github.com/openwrt/openwrt/issues/21349
29+
+ *
30+
+ * For details on EAP see commit 4227ea91e265 ("net: dsa: b53: prevent
31+
+ * standalone from trying to forward to other ports").
32+
+ */
33+
+ if (is5301x(dev))
34+
+ return;
35+
+
36+
if (is5325(dev) || is5365(dev) || dev->chip_id == BCM5389_DEVICE_ID)
37+
return;
38+

0 commit comments

Comments
 (0)