summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network4
2 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 8ea4645..8678a77 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -183,6 +183,10 @@ fonera20n)
set_usb_led "$board:orange:usb"
set_wifi_led "$board:orange:wifi"
;;
+gb-pc1)
+ ucidef_set_led_switch "lan1" "lan1" "$board:green:lan1" "switch0" "0x01"
+ ucidef_set_led_switch "lan2" "lan2" "$board:green:lan2" "switch0" "0x10"
+ ;;
gl-mt300a|\
gl-mt300n|\
gl-mt750)
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 2d8a90c..ee769b5 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -186,6 +186,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0"
;;
+ gb-pc1)
+ ucidef_add_switch "switch0" \
+ "0:lan" "4:lan" "6@eth0"
+ ;;
gl-mt300n-v2)
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6@eth0"