From: John Thomson Date: Sat, 13 Jun 2020 11:25:12 +0000 (+1000) Subject: ramips: remove non-existant poe_passthrough for RouterBOARD 750Gr3 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=8484d6da1e70d9058cfd2c646c8931d786160bb4;p=openwrt%2Fstaging%2Frmilecki.git ramips: remove non-existant poe_passthrough for RouterBOARD 750Gr3 This 750gr3 GPIO17 switch was added based on vendor source, but only the 760iGS (which shares the rbsysfs board identifier) device has the physical wiring. The 750Gr3 actually does not support PoE out. Apart from that, note that the gpio base (480) would have required this GPIO to be referenced as 497 if it was kept. Fixes: 6ba58b7b020c ("ramips: cleanup the RB750Gr3 support") Signed-off-by: John Thomson [commit title/message facelift] Signed-off-by: Adrian Schmutzler --- diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches b/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches index e24e04f1d8d..7787ddcbc7a 100755 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches @@ -7,9 +7,6 @@ board_config_update board=$(board_name) case "$board" in -mikrotik,routerboard-750gr3) - ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "17" - ;; telco-electronics,x1) ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16" ;;