ar71xx: add user space support for dir-835-a1
authorGabor Juhos <juhosg@openwrt.org>
Mon, 11 Mar 2013 15:55:15 +0000 (15:55 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 11 Mar 2013 15:55:15 +0000 (15:55 +0000)
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35958

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
target/linux/ar71xx/base-files/etc/uci-defaults/02_network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

index adf32f12fb504955265baef671f3b462eb789db5..c5ed857cf83412769f8fbc69daf468662c5b9fc0 100755 (executable)
@@ -50,7 +50,8 @@ get_status_led() {
        dir-615-c1)
                status_led="d-link:green:status"
                ;;
-       dir-825-b1)
+       dir-825-b1 |\
+       dir-835-a1)
                status_led="d-link:orange:power"
                ;;
        dir-825-c1)
index e77464d15b8580049e927395f0179458ccbdc1e6..e3f4c17d6fe1b31509baa97d7bd5399a3f101e0d 100755 (executable)
@@ -60,10 +60,7 @@ dir-615-e4)
        ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
        ;;
 
-dir-825-b1)
-       ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
-       ;;
-
+dir-825-b1 | \
 dir-825-c1)
        ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
        ;;
index b1f84da605506696ce41886177a51c6aaa0f8c58..bc98982f37008b340fbb7b3da2230b8790dddb49 100755 (executable)
@@ -175,7 +175,8 @@ wzr-hp-g300nh)
        ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5t"
        ;;
 
-dir-825-c1|\
+dir-825-c1 |\
+dir-835-a1 |\
 wndr4300)
        ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
        ucidef_add_switch "switch0" "1" "1"
index 4fd48d5cc0abe8f7c292ea6da06267c735c07698..93f3a81001acfbe89e62123c29c658b25955e645 100755 (executable)
@@ -225,6 +225,9 @@ ar71xx_board_detect() {
        *"DIR-825 rev. C1")
                name="dir-825-c1"
                ;;
+       *"DIR-835 rev. A1")
+               name="dir-835-a1"
+               ;;
        *EAP7660D)
                name="eap7660d"
                ;;
index c16d184e7388ecee29f1d80ad75bd09c36e5f384..d2538e2172e9c5f64d27af66ad0ab35de6becbad 100755 (executable)
@@ -109,6 +109,7 @@ platform_check_image() {
        dir-615-c1 | \
        dir-615-e4 | \
        dir-825-c1 | \
+       dir-835-a1 | \
        ew-dorin | \
        ew-dorin-router | \
        mzk-w04nu | \