mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
ar71xx: add user-space support for the OpenMesh A40
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This commit is contained in:
parent
5e61a8331d
commit
640f9158e2
@ -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"
|
||||
|
@ -120,6 +120,7 @@ ar71xx_setup_interfaces()
|
||||
wp543)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
a40|\
|
||||
a60|\
|
||||
alfa-ap96|\
|
||||
alfa-nx|\
|
||||
|
@ -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"
|
||||
;;
|
||||
|
@ -382,6 +382,9 @@ ar71xx_board_detect() {
|
||||
*"Oolite V1.0")
|
||||
name="oolite"
|
||||
;;
|
||||
*"A40")
|
||||
name="a40"
|
||||
;;
|
||||
*"A60")
|
||||
name="a60"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user