diff options
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | 2016-09-23 09:36:43 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-02-15 09:35:52 +0100 |
commit | 552bc355d133d1bc0374d7b9b0b65cbfdee723f6 (patch) | |
tree | d951dbe35ec6bdfda749f5ab3b8b221551cbd66d /target/linux | |
parent | 14add3f724b6b768eed62d30bafe8ca2d305fab0 (diff) | |
download | upstream-552bc355d133d1bc0374d7b9b0b65cbfdee723f6.tar.gz upstream-552bc355d133d1bc0374d7b9b0b65cbfdee723f6.tar.bz2 upstream-552bc355d133d1bc0374d7b9b0b65cbfdee723f6.zip |
ar71xx: add user-space support for the OpenMesh A40
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Diffstat (limited to 'target/linux')
4 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index 1ec225cd62..f622929f7c 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -11,6 +11,10 @@ board_config_update board=$(ar71xx_board_name) case "$board" in +a40) + ucidef_set_led_default "status-red" "Status (red)" "a40:red:status" "0" + ucidef_set_led_default "status-blue" "Status (blue)" "a40:blue:status" "0" + ;; a60) ucidef_set_led_default "status-red" "Status (red)" "a60:red:status" "0" ucidef_set_led_default "status-blue" "Status (blue)" "a60:blue:status" "0" diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index eac94d602d..10f84bf717 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -118,6 +118,7 @@ ar71xx_setup_interfaces() wp543) ucidef_set_interface_lan "eth0" ;; + a40|\ a60|\ alfa-ap96|\ alfa-nx|\ diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 157a9ace13..7b8aac8f8e 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -8,6 +8,9 @@ get_status_led() { local board=$(ar71xx_board_name) case $board in + a40) + status_led="a40:green:status" + ;; a60) status_led="a60:green:status" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 79a651c47b..b035535a42 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -382,6 +382,9 @@ ar71xx_board_detect() { *"Oolite V1.0") name="oolite" ;; + *"A40") + name="a40" + ;; *"A60") name="a60" ;; |