]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: simplify SoC detection
authorJan Hoffmann <jan@3e8.eu>
Sat, 2 Aug 2025 18:28:50 +0000 (20:28 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 6 Aug 2025 11:41:51 +0000 (13:41 +0200)
commitd469690b838c2fca627e5b871a73f04775b81851
treea153da0ab6e7f588aedabb7eab37134b6a989ad4
parent6014be3f0f2f222903251777de5975ff8876973b
realtek: simplify SoC detection

Read model name from the register instead of using hard-coded values.

Also remove detection of the unsupported Realtek ESW/SSW SoCs. The Fast
Ethernet variants of the Maple and Cypress series stay for now, but are
moved to the RTL8380/RTL8390 families.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/19653
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h
target/linux/realtek/files-6.12/arch/mips/rtl838x/prom.c