summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-29 16:02:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-29 16:02:27 +0000
commitdddf05bde2137872ce71c66b780a4611ccd7a77e (patch)
tree65f5665333fed3583071771ee05cddba7f2d77ab /target/linux/ar71xx/base-files
parent1a379c51125cec2c3e53d01fb98ef041659d4600 (diff)
downloadmaster-31e0f0ae-dddf05bde2137872ce71c66b780a4611ccd7a77e.tar.gz
master-31e0f0ae-dddf05bde2137872ce71c66b780a4611ccd7a77e.tar.bz2
master-31e0f0ae-dddf05bde2137872ce71c66b780a4611ccd7a77e.zip
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
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
4 files changed, 9 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index b8585737ce..eb730e34e5 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -40,6 +40,9 @@ get_status_led() {
ap136-020)
status_led="ap136:green:status"
;;
+ ap135-020)
+ status_led="ap135:green:status"
+ ;;
ap81)
status_led="ap81:green:status"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 746393dd64..7cd0113cd8 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -29,7 +29,8 @@ ap136-010)
ucidef_add_switch_vlan "switch0" "2" "5 6"
;;
-ap136-020)
+ap136-020 |\
+ap135-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"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 34e93f3080..31b6ddedfb 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -180,6 +180,9 @@ ar71xx_board_detect() {
*"AP136-020 reference board")
name="ap136-020"
;;
+ *"AP135-020 reference board")
+ name="ap135-020"
+ ;;
*AP81)
name="ap81"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 01cf4b298b..3d5efdba3a 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -90,6 +90,7 @@ platform_check_image() {
ap121-mini | \
ap136-010 | \
ap136-020 | \
+ ap135-020 | \
ap96 | \
db120 | \
hornet-ub | \