ar71xx: add user-space support for the OpenMesh OM5P-AN

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44862
This commit is contained in:
John Crispin 2015-03-17 09:43:31 +00:00
parent 17a1e18ee2
commit 85cceb5dd0
3 changed files with 7 additions and 2 deletions

View file

@ -142,7 +142,8 @@ get_status_led() {
om2p-lc) om2p-lc)
status_led="om2p:blue:power" status_led="om2p:blue:power"
;; ;;
om5p) om5p | \
om5p-an)
status_led="om5p:blue:power" status_led="om5p:blue:power"
;; ;;
pb44) pb44)

View file

@ -233,7 +233,8 @@ om2p-lc)
ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
;; ;;
om5p) om5p | \
om5p-an)
ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0" ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1" ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
;; ;;

View file

@ -512,6 +512,9 @@ ar71xx_board_detect() {
*OM5P) *OM5P)
name="om5p" name="om5p"
;; ;;
*"OM5P AN")
name="om5p-an"
;;
*PB42) *PB42)
name="pb42" name="pb42"
;; ;;