ar71xx: add user-space support for the OpenMesh A60
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This commit is contained in:
parent
72d8d8c6f3
commit
5ad9164b9c
@ -11,6 +11,10 @@ board_config_update
|
|||||||
board=$(ar71xx_board_name)
|
board=$(ar71xx_board_name)
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
|
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"
|
||||||
|
;;
|
||||||
airgateway|\
|
airgateway|\
|
||||||
airgatewaypro)
|
airgatewaypro)
|
||||||
ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
|
ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
|
||||||
|
@ -118,6 +118,7 @@ ar71xx_setup_interfaces()
|
|||||||
wp543)
|
wp543)
|
||||||
ucidef_set_interface_lan "eth0"
|
ucidef_set_interface_lan "eth0"
|
||||||
;;
|
;;
|
||||||
|
a60|\
|
||||||
alfa-ap96|\
|
alfa-ap96|\
|
||||||
alfa-nx|\
|
alfa-nx|\
|
||||||
gl-ar150|\
|
gl-ar150|\
|
||||||
|
@ -8,6 +8,9 @@ get_status_led() {
|
|||||||
local board=$(ar71xx_board_name)
|
local board=$(ar71xx_board_name)
|
||||||
|
|
||||||
case $board in
|
case $board in
|
||||||
|
a60)
|
||||||
|
status_led="a60:green:status"
|
||||||
|
;;
|
||||||
alfa-nx)
|
alfa-nx)
|
||||||
status_led="alfa:green:led_8"
|
status_led="alfa:green:led_8"
|
||||||
;;
|
;;
|
||||||
|
@ -382,6 +382,9 @@ ar71xx_board_detect() {
|
|||||||
*"Oolite V1.0")
|
*"Oolite V1.0")
|
||||||
name="oolite"
|
name="oolite"
|
||||||
;;
|
;;
|
||||||
|
*"A60")
|
||||||
|
name="a60"
|
||||||
|
;;
|
||||||
*"AC1750DB")
|
*"AC1750DB")
|
||||||
name="f9k1115v2"
|
name="f9k1115v2"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user