ar71xx: add user-space support for the OpenMesh OM5P-AC
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49142
This commit is contained in:
parent
69965212bd
commit
2fa2d97ae2
3 changed files with 11 additions and 0 deletions
|
@ -394,6 +394,11 @@ om5p-an)
|
||||||
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
|
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
om5p-ac)
|
||||||
|
ucidef_set_led_netdev "port1" "port1" "om5pac:blue:lan" "eth0"
|
||||||
|
ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
|
||||||
|
;;
|
||||||
|
|
||||||
omy-x1)
|
omy-x1)
|
||||||
ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
|
ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
|
||||||
ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
|
ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
|
||||||
|
|
|
@ -214,6 +214,9 @@ get_status_led() {
|
||||||
om5p-an)
|
om5p-an)
|
||||||
status_led="om5p:blue:power"
|
status_led="om5p:blue:power"
|
||||||
;;
|
;;
|
||||||
|
om5p-ac)
|
||||||
|
status_led="om5pac:blue:power"
|
||||||
|
;;
|
||||||
omy-x1)
|
omy-x1)
|
||||||
status_led="omy:green:power"
|
status_led="omy:green:power"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -646,6 +646,9 @@ ar71xx_board_detect() {
|
||||||
*"OM5P AN")
|
*"OM5P AN")
|
||||||
name="om5p-an"
|
name="om5p-an"
|
||||||
;;
|
;;
|
||||||
|
*"OM5P AC")
|
||||||
|
name="om5p-ac"
|
||||||
|
;;
|
||||||
*"OMY-X1")
|
*"OMY-X1")
|
||||||
name="omy-x1"
|
name="omy-x1"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue