ar71xx: add user-space support for the OpenMesh OM2Pv4/-HSv4

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
This commit is contained in:
Sven Eckelmann 2016-06-02 11:25:00 +02:00 committed by John Crispin
parent 9f0f4c1494
commit b2f3d9b05c
4 changed files with 12 additions and 0 deletions

View File

@ -391,9 +391,11 @@ nbg6716)
;; ;;
om2p|\ om2p|\
om2pv2|\ om2pv2|\
om2pv4|\
om2p-hs|\ om2p-hs|\
om2p-hsv2|\ om2p-hsv2|\
om2p-hsv3|\ om2p-hsv3|\
om2p-hsv4|\
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

@ -126,6 +126,8 @@ ar71xx_setup_interfaces()
gl-inet|\ gl-inet|\
gl-mifi|\ gl-mifi|\
jwap003|\ jwap003|\
om2pv4|\
om2p-hsv4|\
pb42|\ pb42|\
pb44|\ pb44|\
rb-951ui-2hnd|\ rb-951ui-2hnd|\

View File

@ -238,9 +238,11 @@ get_status_led() {
;; ;;
om2p|\ om2p|\
om2pv2|\ om2pv2|\
om2pv4|\
om2p-hs|\ om2p-hs|\
om2p-hsv2|\ om2p-hsv2|\
om2p-hsv3|\ om2p-hsv3|\
om2p-hsv4|\
om2p-lc) om2p-lc)
status_led="om2p:blue:power" status_led="om2p:blue:power"
;; ;;

View File

@ -736,6 +736,9 @@ ar71xx_board_detect() {
*OM2Pv2) *OM2Pv2)
name="om2pv2" name="om2pv2"
;; ;;
*OM2Pv4)
name="om2pv4"
;;
*"OM2P HS") *"OM2P HS")
name="om2p-hs" name="om2p-hs"
;; ;;
@ -745,6 +748,9 @@ ar71xx_board_detect() {
*"OM2P HSv3") *"OM2P HSv3")
name="om2p-hsv3" name="om2p-hsv3"
;; ;;
*"OM2P HSv4")
name="om2p-hsv4"
;;
*"OM2P LC") *"OM2P LC")
name="om2p-lc" name="om2p-lc"
;; ;;