diff options
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds | 6 | ||||
-rwxr-xr-x | target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 21 |
2 files changed, 18 insertions, 9 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds index c66e13d3c5..685895452a 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds @@ -20,6 +20,12 @@ case $board in alfa-network,awusfree1) set_wifi_led "$boardname:blue:wlan" ;; +asus,rt-n10p-v3|\ +asus,rt-n11p-b1|\ +asus,rt-n12-vp-b1) + ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0xf" + ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10" + ;; cudy,wr1000) ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x10" ucidef_set_led_switch "lan1" "lan1" "$boardname:blue:lan1" "switch0" "0x08" diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network index d758fe5543..398b5e88c7 100755 --- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network @@ -26,6 +26,18 @@ ramips_setup_interfaces() ucidef_add_switch_attr "switch0" "enable" "false" ucidef_set_interface_lan "eth0" ;; + asus,rt-n10p-v3|\ + asus,rt-n11p-b1|\ + asus,rt-n12-vp-b1|\ + hiwifi,hc5661a|\ + mediatek,mt7628an-eval-board|\ + mercury,mac1200r-v2|\ + totolink,lr1200|\ + wavlink,wl-wn570ha1|\ + wavlink,wl-wn575a3) + ucidef_add_switch "switch0" \ + "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" + ;; buffalo,wcr-1166ds) ucidef_add_switch "switch0" \ "3:lan" "4:wan" "6@eth0" @@ -67,15 +79,6 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; - hiwifi,hc5661a|\ - mediatek,mt7628an-eval-board|\ - mercury,mac1200r-v2|\ - totolink,lr1200|\ - wavlink,wl-wn570ha1|\ - wavlink,wl-wn575a3) - ucidef_add_switch "switch0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0" - ;; hiwifi,hc5761a) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "4:wan" "6@eth0" |