]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: remove half-cooked SoC version determination 21684/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 24 Jan 2026 21:17:13 +0000 (22:17 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 25 Jan 2026 21:18:10 +0000 (22:18 +0100)
commit5dbfbe59bbbe76c82a72650de43abfa437a6f9a2
treef39ae7a31536694f007bf6e57a5455f4bdac719e
parent5ebb93158e3e77e2da430ce937ffcd1457745b02
realtek: dsa: remove half-cooked SoC version determination

There are some code pieces that determine the SoC version of the
running system. For RTL83xx it reads out the registers, for RTL93xx
it simply uses a constant value. Without any consumer of this data
drop it.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21684
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl83xx.h