aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-14 16:52:36 +0000
committerJohn Crispin <john@openwrt.org>2014-11-14 16:52:36 +0000
commit0371dabc1347fd902b1a62b050dbe56064d23567 (patch)
tree50f5a698bb51621da6a083edf09f7dce554b2cef /target/linux/ramips/base-files/etc
parent062828aee0c343ae13009b2108659c6c742eedff (diff)
downloadupstream-0371dabc1347fd902b1a62b050dbe56064d23567.tar.gz
upstream-0371dabc1347fd902b1a62b050dbe56064d23567.tar.bz2
upstream-0371dabc1347fd902b1a62b050dbe56064d23567.zip
ralink: add support for WSR-600/1166
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43244
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh4
2 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index c5957b393a..de0115f6d5 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -121,13 +121,16 @@ ramips_setup_interfaces()
mzk-750dhp | \
whr-300hp2 | \
whr-600d | \
+ wsr-600 | \
+ wsr-1166 | \
wt1520)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
ucidef_add_switch_vlan "switch0" "2" "4 6t"
;;
- whr-1166d)
+
+ whr-1166)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index b743c8408a..dfa5468205 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -170,6 +170,10 @@ get_status_led() {
wr8305rt)
status_led="wr8305rt:sys"
;;
+ wsr-600 | \
+ wsr-1166)
+ status_led="buffalo:orange:diag"
+ ;;
wnce2001)
status_led="netgear:green:power"
;;