diff options
Diffstat (limited to 'target/linux/ath79/generic')
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/01_leds | 8 | ||||
-rwxr-xr-x | target/linux/ath79/generic/base-files/etc/board.d/02_network | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/target/linux/ath79/generic/base-files/etc/board.d/01_leds b/target/linux/ath79/generic/base-files/etc/board.d/01_leds index 6e488949e4..0b522910ee 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/01_leds +++ b/target/linux/ath79/generic/base-files/etc/board.d/01_leds @@ -17,6 +17,14 @@ alfa-network,ap121fe|\ avm,fritz450e) ucidef_set_led_netdev "lan" "LAN" "$boardname:green:lan" "eth0" ;; +alfa-network,n2q) + ucidef_set_led_netdev "lan2" "LAN2" "$boardname:orange:lan2" "eth1" + ucidef_set_led_switch "lan1" "LAN1" "$boardname:orange:lan1" "switch0" "0x10" + ucidef_set_rssimon "wlan0" "200000" "1" + ucidef_set_led_rssi "signal1" "SIGNAL1" "$boardname:red:signal1" "wlan0" "1" "100" + ucidef_set_led_rssi "signal2" "SIGNAL2" "$boardname:orange:signal2" "wlan0" "33" "100" + ucidef_set_led_rssi "signal3" "SIGNAL3" "$boardname:green:signal3" "wlan0" "66" "100" + ;; alfa-network,r36a) ucidef_set_led_netdev "lan" "LAN" "$boardname:blue:lan" "eth0" ucidef_set_led_switch "wan" "WAN" "$boardname:blue:wan" "switch0" "0x10" diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network index d13d714f88..160eea523c 100755 --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network @@ -78,6 +78,12 @@ ath79_setup_interfaces() alfa-network,ap121fe) ucidef_set_interface_lan "eth0 usb0" ;; + alfa-network,n2q|\ + devolo,dvl1200e|\ + devolo,dvl1750e|\ + ocedo,ursus) + ucidef_set_interface_lan "eth0 eth1" + ;; avm,fritz4020|\ pcs,cr3000|\ tplink,archer-c58-v1|\ @@ -147,11 +153,6 @@ ath79_setup_interfaces() ucidef_add_switch "switch0" \ "0@eth0" "3:lan" "2:wan" ;; - devolo,dvl1200e|\ - devolo,dvl1750e|\ - ocedo,ursus) - ucidef_set_interface_lan "eth0 eth1" - ;; devolo,magic-2-wifi) ucidef_add_switch "switch0" \ "0@eth0" "2:wan" "3:lan" "4:lan" @@ -402,6 +403,7 @@ ath79_setup_macs() ;; alfa-network,ap121f|\ alfa-network,ap121fe|\ + alfa-network,n2q|\ alfa-network,r36a|\ engenius,ens202ext-v1) label_mac=$(mtd_get_mac_binary art 0x1002) |