From: Birger Koblitz Date: Sun, 16 Jan 2022 07:34:18 +0000 (+0100) Subject: realtek: Add support for detecting RTL9303 SoCs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c7cc4e95a52a5b9173d041b308e5a5dbfc9a1a5d;p=openwrt%2Fstaging%2Fthess.git realtek: Add support for detecting RTL9303 SoCs Adds support for detecting RTL9303 SoCs as found e.g. in the Ubiquiti USW switch. Signed-off-by: Birger Koblitz --- diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c index 76e3ff7486..ad8c2d75f2 100644 --- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c +++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c @@ -170,6 +170,10 @@ void __init prom_init(void) identify_rtl9302(); soc_info.family = RTL9300_FAMILY_ID; break; + case 0x9303: + soc_info.name = "RTL9303"; + soc_info.family = RTL9300_FAMILY_ID; + break; case 0x9313: soc_info.name = "RTL9313"; soc_info.family = RTL9310_FAMILY_ID;