1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/realtek/base-files/etc/board.d/05_compat-version
Stijn Segers c361c1e1b1 realtek: fix Zyxel relabel
Commits d205878ede and 46cf10771a relabeled the supported Zyxel devices
from v1/v2 to A1/B1, but board setup files were overlooked.

Fixes: d205878ede ("rtl838x: rename GS1900 series v1/v2 to A1/B1")
Fixes: 46cf10771a ("rtl839x: rename GS1900 series v1/v2 to A1/B1")
Signed-off-by: Stijn Segers <foss@volatilesystems.org>
Link: https://github.com/openwrt/openwrt/pull/20590
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-10-31 10:33:42 +01:00

34 lines
624 B
Text

#
# Copyright (C) 2020 OpenWrt.org
#
. /lib/functions.sh
. /lib/functions/uci-defaults.sh
board_config_update
case "$(board_name)" in
hpe,1920-8g-poe-180w | \
hpe,1920-24g-poe-180w | \
hpe,1920-24g-poe-370w)
ucidef_set_compat_version "1.1"
;;
zyxel,gs1900-8-a1 | \
zyxel,gs1900-8-b1 | \
zyxel,gs1900-8hp-a1 | \
zyxel,gs1900-8hp-b1 | \
zyxel,gs1900-10hp-a1 | \
zyxel,gs1900-16-a1 | \
zyxel,gs1900-24e-a1 | \
zyxel,gs1900-24ep-a1 | \
zyxel,gs1900-24hp-a1 | \
zyxel,gs1900-24hp-b1 | \
zyxel,gs1900-24-a1 | \
zyxel,gs1900-48-a1)
ucidef_set_compat_version "2.0"
;;
esac
board_config_flush
exit 0