diff options
Diffstat (limited to 'target/linux/ramips/base-files')
5 files changed, 14 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" diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index ff3c2a5e5d..f7e04b7391 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -160,6 +160,9 @@ ramips_board_detect() { *"HAME MPR-A2") name="mpr-a2" ;; + *"Kingston MLW221") + name="mlw221" + ;; *"Planex MZK-750DHP") name="mzk-750dhp" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 1ab3ab510f..4a70691084 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -55,6 +55,7 @@ platform_check_image() { ip2202 | \ m3 | \ m4 | \ + mlw221 | \ mofi3500-3gn | \ mpr-a1 | \ mpr-a2 | \ |