summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-16 20:28:52 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-11-16 20:28:52 +0000
commitfdd6fa081f86544e81d8900a0072e06db17361a9 (patch)
tree36270cade2bda627102c4c0a6f3be58854b30a28 /target/linux/ramips/base-files
parentffdad579167b02497d8ae202a4299e0b3578fa39 (diff)
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"
;;