realtek: dsa: rtl93xx: Switch to MSTP compatible STP mode
authorIssam Hamdi <[email protected]>
Fri, 20 Dec 2024 15:24:53 +0000 (16:24 +0100)
committerHauke Mehrtens <[email protected]>
Sat, 15 Nov 2025 15:21:16 +0000 (16:21 +0100)
commit6236291cb4ebfde9ef73cba0e3bd7a1d5fd18ac5
tree510e107a05e33cef3d9b6055039fc1410de3baa2
parent337557a158a604f7b4eadf9044f4a0e7b514bb1d
realtek: dsa: rtl93xx: Switch to MSTP compatible STP mode

The realtek DSA switch driver sets up all VLANs using CIST. It is therefore
not necessary to enforce CIST using the ST_CTRL register.

This allows us later to overwrite the MSTI of VLANs. This is necessary to
get MSTP working on RTL93xx.

Signed-off-by: Issam Hamdi <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20421
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c