diff options
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r-- | target/linux/ipq40xx/base-files/etc/board.d/01_leds | 9 | ||||
-rw-r--r-- | target/linux/ipq40xx/base-files/etc/board.d/02_network | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds index cd68ed32c0..748b6f5b82 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds +++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds @@ -13,10 +13,11 @@ alfa-network,ap120c-ac) ucidef_set_led_netdev "wan" "WAN" "amber:wan" "wan" ;; asus,rt-ac42u) - ucidef_set_led_switch "lan1" "LAN1" "blue:lan-1" "switch0" "0x02" - ucidef_set_led_switch "lan2" "LAN2" "blue:lan-2" "switch0" "0x04" - ucidef_set_led_switch "lan3" "LAN3" "blue:lan-3" "switch0" "0x08" - ucidef_set_led_switch "lan4" "LAN4" "blue:lan-4" "switch0" "0x10" + ucidef_set_led_netdev "lan1" "LAN1" "blue:lan-1" "lan1" + ucidef_set_led_netdev "lan2" "LAN2" "blue:lan-2" "lan2" + ucidef_set_led_netdev "lan3" "LAN3" "blue:lan-3" "lan3" + ucidef_set_led_netdev "lan4" "LAN4" "blue:lan-4" "lan4" + ucidef_set_led_netdev "wan" "WAN" "blue:wan" "wan" ;; asus,rt-ac58u) ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1" diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 36f1f7c24a..56d38bd6a7 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -13,6 +13,7 @@ ipq40xx_setup_interfaces() case "$board" in 8dev,habanero-dvk|\ avm,fritzbox-4040|\ + asus,rt-ac42u|\ asus,rt-ac58u|\ linksys,ea6350v3|\ linksys,ea8300|\ @@ -81,6 +82,9 @@ ipq40xx_setup_macs() 8dev,habanero-dvk) label_mac=$(mtd_get_mac_binary "ART" 0x1006) ;; + asus,rt-ac42u) + label_mac=$(mtd_get_mac_binary_ubi Factory 0x1006) + ;; asus,rt-ac58u) wan_mac=$(mtd_get_mac_binary_ubi Factory 0x1006) lan_mac=$(mtd_get_mac_binary_ubi Factory 0x5006) |