ar71xx: Add userspace support for AP135

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34918
master
Gabor Juhos 12 years ago
parent 1a379c5112
commit dddf05bde2
  1. 3
      target/linux/ar71xx/base-files/etc/diag.sh
  2. 3
      target/linux/ar71xx/base-files/etc/uci-defaults/network
  3. 3
      target/linux/ar71xx/base-files/lib/ar71xx.sh
  4. 1
      target/linux/ar71xx/base-files/lib/upgrade/platform.sh

@ -40,6 +40,9 @@ get_status_led() {
ap136-020) ap136-020)
status_led="ap136:green:status" status_led="ap136:green:status"
;; ;;
ap135-020)
status_led="ap135:green:status"
;;
ap81) ap81)
status_led="ap81:green:status" status_led="ap81:green:status"
;; ;;

@ -29,7 +29,8 @@ ap136-010)
ucidef_add_switch_vlan "switch0" "2" "5 6" ucidef_add_switch_vlan "switch0" "2" "5 6"
;; ;;
ap136-020) ap136-020 |\
ap135-020)
ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_set_interfaces_lan_wan "eth1" "eth0"
ucidef_add_switch "switch0" "1" "1" ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"

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

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

Loading…
Cancel
Save