]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: setup cpu port in soc_info structure 21327/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 30 Dec 2025 13:07:32 +0000 (14:07 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 31 Dec 2025 20:55:32 +0000 (21:55 +0100)
commit8e6cd2608ab14a017f493dd10bd4a6045a5bac0f
tree8e878c661817e6905b3b6919c3629bf6bc69d75d
parent6b2e7ffd4be91ca6245b34e5ed55e858860a2191
realtek: setup cpu port in soc_info structure

A lot of soc_info usage has been reorganized. Nevertheless there
are some consumers left. A very critical one is the dsa/qos coding.
It makes use of the cpu_port in this shared structure. This is
totally broken as that info is never properly initialized. Fill
the cpu_port according to the identified hardware.

Remark: Looking at the prom.c history soc_info.cpu_port was never
setup since the beginning of time. So no "fixes" tag here.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21327
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c