summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-16 20:28:52 +0000
committerJohn Crispin <john@openwrt.org>2013-11-16 20:28:52 +0000
commitdce9b292bf06c84a794db57ef25c3f9b47faf576 (patch)
tree6751f99a39c9b198e3020cb129ab5fba4af5b61c /target/linux/ramips/base-files
parent5fbfffe7f4ff7014fe5c942ec0c179a745f340c0 (diff)
downloadmtk-20170518-dce9b292bf06c84a794db57ef25c3f9b47faf576.zip
mtk-20170518-dce9b292bf06c84a794db57ef25c3f9b47faf576.tar.gz
mtk-20170518-dce9b292bf06c84a794db57ef25c3f9b47faf576.tar.bz2
ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38823
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 c6e6004..a236fdf 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 7880c2f..8ac2a4f 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 0315074..c93561f 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"
;;