[PATCH v3 1/3] realtek: correct GS110TPP v1 PoE budget, add rtl83xx-poe package
Stijn Segers
foss at volatilesystems.org
Mon Apr 12 23:01:28 BST 2021
Set the right PoE power budget and add the rtl83xx-poe package to
control PoE with OpenWrt.
According to multiple sources (Netgear web page [1], Wikidevi [2] and Biot's
wiki [3]) this switch has a 120W PoE power budget, not a 130W one.
[1] https://www.netgear.com/business/wired/switches/smart-cloud/gs110tpp/
[2] https://wikidevi.wi-cat.ru/Netgear_GS110TPP
[3] https://biot.com/switches/gs110tpp
Signed-off-by: Stijn Segers <foss at volatilesystems.org>
---
target/linux/realtek/base-files/etc/board.d/02_network | 2 +-
target/linux/realtek/image/Makefile | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/linux/realtek/base-files/etc/board.d/02_network b/target/linux/realtek/base-files/etc/board.d/02_network
index 1e199db589..b27bed9a63 100644
--- a/target/linux/realtek/base-files/etc/board.d/02_network
+++ b/target/linux/realtek/base-files/etc/board.d/02_network
@@ -49,7 +49,7 @@ done
case $board in
netgear,gs110tpp-v1)
- ucidef_set_poe 130 "$lan_list"
+ ucidef_set_poe 120 "$lan_list"
;;
zyxel,gs1900-10hp)
ucidef_set_poe 77 "$lan_list"
diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile
index 18e5fedb9b..429548391d 100644
--- a/target/linux/realtek/image/Makefile
+++ b/target/linux/realtek/image/Makefile
@@ -83,6 +83,7 @@ define Device/netgear_gs110tpp-v1
$(Device/netgear_nge)
DEVICE_MODEL := GS110TPP
DEVICE_VARIANT := v1
+ DEVICE_PACKAGES += rtl83xx-poe
endef
TARGET_DEVICES += netgear_gs110tpp-v1
--
2.30.2
More information about the openwrt-devel
mailing list