aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-02-18 13:33:25 +0000
committerJohn Crispin <john@openwrt.org>2014-02-18 13:33:25 +0000
commitb56bef28d79c2cb3ffdc86d9b84b5aa16c649547 (patch)
treefe22a6b188e862633b40e51ea439e53013347d70 /target/linux/ramips/base-files
parent55383946dc2b17b7bedb5f435b17d0d3e1c5323c (diff)
downloadupstream-b56bef28d79c2cb3ffdc86d9b84b5aa16c649547.tar.gz
upstream-b56bef28d79c2cb3ffdc86d9b84b5aa16c649547.tar.bz2
upstream-b56bef28d79c2cb3ffdc86d9b84b5aa16c649547.zip
ralink: add support for na930
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39611
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/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
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"
;;