diff options
author | John Crispin <blogic@openwrt.org> | 2014-02-18 13:33:25 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-02-18 13:33:25 +0000 |
commit | 36cfff40723876ffca214a2e6a351374a7b698f6 (patch) | |
tree | ebdf8117a6ed71a56981dbf9773f469e5e08807c /target/linux/ramips/base-files | |
parent | d6515b152d3311516cd400f829450a66c7999e38 (diff) | |
download | upstream-36cfff40723876ffca214a2e6a351374a7b698f6.tar.gz upstream-36cfff40723876ffca214a2e6a351374a7b698f6.tar.bz2 upstream-36cfff40723876ffca214a2e6a351374a7b698f6.zip |
ralink: add support for na930
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39611 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index d57cc7ac22..4168d0a2bd 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -160,7 +160,10 @@ get_status_led() { ;; f7c027) status_led="belkin:orange:status" - ;; + ;; + na930) + status_led="na930:blue:power" + ;; esac } diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds index ca4c131781..567835e6b1 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds @@ -115,6 +115,9 @@ case $board in mzk-w300nh2) set_wifi_led "mzkw300nh2:amber:wlan" ;; + na930) + set_usb_led "na930:blue:status" + ;; nw718) set_usb_led "nw718:amber:usb" ;; 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 65c05899c3..703471838d 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -146,6 +146,7 @@ ramips_setup_interfaces() ;; d105 | \ + na930 | \ omni-emb-hpm|\ wli-tx4-ag300n) ucidef_set_interface_lan "eth0" diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 7aa331334e..5a686e6719 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -280,6 +280,9 @@ ramips_board_detect() { *"V22SG") name="v22sg" ;; + *"Sercomm NA930") + name="na930" + ;; *) name="generic" ;; |