ar71xx: add user-space support for AP136-020

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34885
owl
Gabor Juhos 2012-12-26 09:50:36 +00:00
parent ed1889db33
commit f3f05d86fe
4 changed files with 13 additions and 1 deletions

View File

@ -36,7 +36,8 @@ get_status_led() {
all0305) all0305)
status_led="eap7660d:green:ds4" status_led="eap7660d:green:ds4"
;; ;;
ap136-010) ap136-010|\
ap136-020)
status_led="ap136:green:status" status_led="ap136:green:status"
;; ;;
ap81) ap81)

View File

@ -29,6 +29,13 @@ ap136-010)
ucidef_add_switch_vlan "switch0" "2" "5 6" ucidef_add_switch_vlan "switch0" "2" "5 6"
;; ;;
ap136-020)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
ucidef_add_switch_vlan "switch0" "2" "5 6"
;;
db120 |\ db120 |\
rb-2011l | \ rb-2011l | \
rb-2011uas-2hnd) rb-2011uas-2hnd)

View File

@ -177,6 +177,9 @@ ar71xx_board_detect() {
*"AP136-010 reference board") *"AP136-010 reference board")
name="ap136-010" name="ap136-010"
;; ;;
*"AP136-020 reference board")
name="ap136-020"
;;
*AP81) *AP81)
name="ap81" name="ap81"
;; ;;

View File

@ -89,6 +89,7 @@ platform_check_image() {
ap121 | \ ap121 | \
ap121-mini | \ ap121-mini | \
ap136-010 | \ ap136-010 | \
ap136-020 | \
ap96 | \ ap96 | \
db120 | \ db120 | \
hornet-ub | \ hornet-ub | \