[openwrt/openwrt] realtek: Fix old compatible for HPE 1920-8G PoE

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 24 08:16:34 PST 2025


svanheule pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/7a1da5486f378a74c614d49de3ac37ddb82ccc87

commit 7a1da5486f378a74c614d49de3ac37ddb82ccc87
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Fri Jan 24 17:07:21 2025 +0100

    realtek: Fix old compatible for HPE 1920-8G PoE
    
    Supported devices are listed in the metadata as the first part of the
    DTS compatible. This normally follows the format "vendor,device".
    
    When updating the device name of the 180W 1920-8G PoE an underscore was
    used, instead of a comma, to join the vendor and device name. This will
    lead to warnings for users wanting to sysupgrade a device with an older
    compatible, as the device's info does not match the one the metadata.
    
    Fixes: 987c96e88927 ("realtek: rename hpe,1920-8g-poe to match hardware")
    Signed-off-by: Sander Vanheule <sander at svanheule.net>
    (cherry picked from commit 6a7fa68569ac11bb2c2abb14026e8b84acd3a12f)
---
 target/linux/realtek/image/rtl838x.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/realtek/image/rtl838x.mk b/target/linux/realtek/image/rtl838x.mk
index 866659ad14..9ade8d536b 100644
--- a/target/linux/realtek/image/rtl838x.mk
+++ b/target/linux/realtek/image/rtl838x.mk
@@ -124,7 +124,7 @@ define Device/hpe_1920-8g-poe-180w
   DEVICE_MODEL := 1920-8G-PoE+ 180W (JG922A)
   DEVICE_PACKAGES += realtek-poe
   H3C_DEVICE_ID := 0x00010025
-  SUPPORTED_DEVICES += hpe_1920-8g-poe
+  SUPPORTED_DEVICES += hpe,1920-8g-poe
 endef
 TARGET_DEVICES += hpe_1920-8g-poe-180w
 




More information about the lede-commits mailing list