aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-01-17 07:07:36 +0000
committerJohn Crispin <john@openwrt.org>2015-01-17 07:07:36 +0000
commit7a65864344b0515b740f42149d6c24ef0d1c775e (patch)
tree07118f2e86624108718182270263bf281f6bff1b /target/linux/ramips/base-files/etc
parent03a708a0dbce4c63bb200661e1641f0f01f99e8d (diff)
downloadupstream-7a65864344b0515b740f42149d6c24ef0d1c775e.tar.gz
upstream-7a65864344b0515b740f42149d6c24ef0d1c775e.tar.bz2
upstream-7a65864344b0515b740f42149d6c24ef0d1c775e.zip
ralink: add support for Kingston MLWG2
This patch adds support for the Kingston Mobilelite Wireless G2 (MLWG2) http://wiki.openwrt.org/toh/kingston/mlwg2 https://github.com/gmacario/kingston-mlwg2-hack/wiki/Testing-OpenWrt-on-MLWG2 Tested-by: Gianpaolo Macario <gmacario@gmail.com> Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 43990
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh3
3 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index c42b31feb8..dfd0ca7049 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -130,6 +130,10 @@ case $board in
set_wifi_led "kingston:blue:wifi"
ucidef_set_led_default "system" "system" "kingston:blue:system" "1"
;;
+ mlwg2)
+ set_wifi_led "kingston:blue:wifi"
+ ucidef_set_led_default "system" "system" "kingston:blue:system" "1"
+ ;;
mofi3500-3gn)
set_usb_led "mofi3500-3gn:green:usb"
;;
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index a86466e5e7..aad119738b 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -61,6 +61,9 @@ ramips_setup_interfaces()
mlw221)
ucidef_set_interface_lan "eth0.2"
;;
+ mlwg2)
+ ucidef_set_interface_lan "eth0.1"
+ ;;
wizard8800 | \
wl-330n | \
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 103dfcd236..65ef0db96a 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -88,6 +88,9 @@ get_status_led() {
mlw221)
status_led="kingston:blue:status"
;;
+ mlwg2)
+ status_led="kingston:blue:system"
+ ;;
mofi3500-3gn)
status_led="mofi3500-3gn:green:status"
;;