aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-26 20:36:22 +0000
committerJohn Crispin <john@openwrt.org>2014-07-26 20:36:22 +0000
commit5b4abf87d70f817e7796f75d9241d00f9c6fbbf0 (patch)
treefe6b998074491a03b2ee82fed457d11f4b0ac5f3 /target/linux/ramips/base-files/etc
parent3c9cfbeebd191844e60e4110cc6a5f8cbe452677 (diff)
downloadupstream-5b4abf87d70f817e7796f75d9241d00f9c6fbbf0.tar.gz
upstream-5b4abf87d70f817e7796f75d9241d00f9c6fbbf0.tar.bz2
upstream-5b4abf87d70f817e7796f75d9241d00f9c6fbbf0.zip
ramips: add support for Kingston MLW221
This patch adds support for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41841
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network4
3 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 908547e50e..088760652a 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -73,6 +73,9 @@ get_status_led() {
m4)
status_led="m4:blue:status"
;;
+ mlw221)
+ status_led="kingston:green:status"
+ ;;
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;
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 19ec4f5904..359281efa9 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -113,6 +113,9 @@ case $board in
hw550-3g)
set_usb_led "hw550-3g:green:usb"
;;
+ mlw221)
+ set_wifi_led "kingston:blue:wifi"
+ ;;
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green: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 f65388f613..40c60fee5c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -51,6 +51,10 @@ ramips_setup_interfaces()
;;
3g-6200nl | \
+ mlw221)
+ ucidef_set_interface_lan "eth0.2"
+ ;;
+
wl-330n | \
wmr300)
ucidef_set_interface_lan "eth0.1"