summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-11 15:55:15 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-11 15:55:15 +0000
commit3fa3cbae7ca6ec50ba1641c438b5afa43ac458e7 (patch)
tree7ff63667a5079e077dfb68e3dfc6ea76b6ccb96c /target/linux/ar71xx/base-files/etc
parenta7525f5f5d75d4a2adad6d379a65d0c310f1d6fd (diff)
downloadmtk-20170518-3fa3cbae7ca6ec50ba1641c438b5afa43ac458e7.zip
mtk-20170518-3fa3cbae7ca6ec50ba1641c438b5afa43ac458e7.tar.gz
mtk-20170518-3fa3cbae7ca6ec50ba1641c438b5afa43ac458e7.tar.bz2
ar71xx: add user space support for dir-835-a1
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
Diffstat (limited to 'target/linux/ar71xx/base-files/etc')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/01_leds5
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network3
3 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index adf32f1..c5ed857 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -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)
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
index e77464d..e3f4c17 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds
@@ -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"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index b1f84da..bc98982 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -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"