mirror of https://github.com/hak5/openwrt.git
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: 40962lede-17.01
parent
c9f15772a1
commit
ac3fd59a2b
|
@ -100,6 +100,7 @@ get_status_led() {
|
||||||
om2p | \
|
om2p | \
|
||||||
om2pv2 | \
|
om2pv2 | \
|
||||||
om2p-hs | \
|
om2p-hs | \
|
||||||
|
om2p-hsv2 | \
|
||||||
om2p-lc)
|
om2p-lc)
|
||||||
status_led="om2p:blue:power"
|
status_led="om2p:blue:power"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -153,6 +153,7 @@ nbg6716)
|
||||||
om2p | \
|
om2p | \
|
||||||
om2pv2 | \
|
om2pv2 | \
|
||||||
om2p-hs | \
|
om2p-hs | \
|
||||||
|
om2p-hsv2 | \
|
||||||
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"
|
||||||
|
|
|
@ -364,6 +364,9 @@ ar71xx_board_detect() {
|
||||||
*"OM2P HS")
|
*"OM2P HS")
|
||||||
name="om2p-hs"
|
name="om2p-hs"
|
||||||
;;
|
;;
|
||||||
|
*"OM2P HSv2")
|
||||||
|
name="om2p-hsv2"
|
||||||
|
;;
|
||||||
*"OM2P LC")
|
*"OM2P LC")
|
||||||
name="om2p-lc"
|
name="om2p-lc"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue