aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-16 20:28:52 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-16 20:28:52 +0000
commit31727ad0c74281e4f05681f80f2d4f22da6214a5 (patch)
tree36270cade2bda627102c4c0a6f3be58854b30a28 /target/linux/ramips/base-files
parent5ff54b79ef8ec7f74652efce15183e792859f914 (diff)
downloadupstream-31727ad0c74281e4f05681f80f2d4f22da6214a5.tar.gz
upstream-31727ad0c74281e4f05681f80f2d4f22da6214a5.tar.bz2
upstream-31727ad0c74281e4f05681f80f2d4f22da6214a5.zip
ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38823 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh5
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
3 files changed, 7 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index c6e6004245..a236fdf921 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -120,9 +120,8 @@ get_status_led() {
whr-g300n)
status_led="whr-g300n:green:router"
;;
- whr-300hp2)
- status_led="buffalo:green:status"
- ;;
+ wmr300 | \
+ whr-300hp2 | \
whr-600d)
status_led="buffalo:green:status"
;;
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 7880c2fc53..8ac2a4f7e4 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -50,7 +50,8 @@ ramips_setup_interfaces()
;;
3g-6200nl | \
- wl-330n)
+ wl-330n | \
+ wmr330)
ucidef_set_interface_lan "eth0.1"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 0315074f10..c93561fb0f 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -208,6 +208,9 @@ ramips_board_detect() {
*"W502U")
name="w502u"
;;
+ *"WMR-300")
+ name="wmr300"
+ ;;
*"WHR-300HP2")
name="whr-300hp2"
;;