ar71xx: Add userspace support for AP135
authorGabor Juhos <juhosg@openwrt.org>
Sat, 29 Dec 2012 16:02:27 +0000 (16:02 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 29 Dec 2012 16:02:27 +0000 (16:02 +0000)
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34918

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index b8585737ce4439bfcc39056dd2ed6d89f2fa6845..eb730e34e5be661e6a94cfacd77faa616564b23b 100755 (executable)
@@ -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"
                ;;
index 746393dd64b86d03ef9389f4c1c7017e8aecd9f3..7cd0113cd883f4bc8daa8b1fd2e9702aaa93429d 100755 (executable)
@@ -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"
index 34e93f308062f515d6d18dd110a92ad56947ab72..31b6ddedfbe88f26fc666e15e43a938b4bf07d02 100755 (executable)
@@ -180,6 +180,9 @@ ar71xx_board_detect() {
        *"AP136-020 reference board")
                name="ap136-020"
                ;;
+       *"AP135-020 reference board")
+               name="ap135-020"
+               ;;
        *AP81)
                name="ap81"
                ;;
index 01cf4b298be1494f8962580b047ce61d45ab4ecd..3d5efdba3aac0ab1d49d48a95e05e8e46fc96ae7 100755 (executable)
@@ -90,6 +90,7 @@ platform_check_image() {
        ap121-mini | \
        ap136-010 | \
        ap136-020 | \
+       ap135-020 | \
        ap96 | \
        db120 | \
        hornet-ub | \