From dce9b292bf06c84a794db57ef25c3f9b47faf576 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 16 Nov 2013 20:28:52 +0000 Subject: ralink: add mt7620n support Signed-off-by: John Crispin SVN-Revision: 38823 --- target/linux/ramips/base-files/etc/diag.sh | 5 ++--- target/linux/ramips/base-files/etc/uci-defaults/02_network | 3 ++- target/linux/ramips/base-files/lib/ramips.sh | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'target/linux/ramips/base-files') 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" ;; -- cgit v1.2.3