ar71xx: add user-space support for OpenMesh OM2P-HSv2

Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40962
lede-17.01
John Crispin 2014-06-02 13:21:31 +00:00
parent c9f15772a1
commit ac3fd59a2b
3 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

@ -364,6 +364,9 @@ ar71xx_board_detect() {
*"OM2P HS")
name="om2p-hs"
;;
*"OM2P HSv2")
name="om2p-hsv2"
;;
*"OM2P LC")
name="om2p-lc"
;;