ar71xx: add user-space support for the OpenMesh OM2P-HSv3

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This commit is contained in:
Sven Eckelmann 2016-05-20 17:53:08 +02:00 committed by Felix Fietkau
parent 8010e8a370
commit e10d12411c
3 changed files with 5 additions and 0 deletions

View File

@ -383,6 +383,7 @@ om2p | \
om2pv2 | \ om2pv2 | \
om2p-hs | \ om2p-hs | \
om2p-hsv2 | \ om2p-hsv2 | \
om2p-hsv3 | \
om2p-lc) om2p-lc)
ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0" ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"

View File

@ -207,6 +207,7 @@ get_status_led() {
om2pv2 | \ om2pv2 | \
om2p-hs | \ om2p-hs | \
om2p-hsv2 | \ om2p-hsv2 | \
om2p-hsv3 | \
om2p-lc) om2p-lc)
status_led="om2p:blue:power" status_led="om2p:blue:power"
;; ;;

View File

@ -640,6 +640,9 @@ ar71xx_board_detect() {
*"OM2P HSv2") *"OM2P HSv2")
name="om2p-hsv2" name="om2p-hsv2"
;; ;;
*"OM2P HSv3")
name="om2p-hsv3"
;;
*"OM2P LC") *"OM2P LC")
name="om2p-lc" name="om2p-lc"
;; ;;