aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-03 10:00:03 +0000
committerJohn Crispin <john@openwrt.org>2013-04-03 10:00:03 +0000
commitc1710901c5cd47717e972798bbc6108f5be55652 (patch)
tree6fddd0eb10b75897f1ef9bd3d55266b792e179cf /target/linux/ramips/base-files
parentf3643374c4c95c22d70e8d1d029f16bf23f9bb57 (diff)
downloadupstream-c1710901c5cd47717e972798bbc6108f5be55652.tar.gz
upstream-c1710901c5cd47717e972798bbc6108f5be55652.tar.bz2
upstream-c1710901c5cd47717e972798bbc6108f5be55652.zip
add profile for the Edimax 3g-6200NL board
http://patchwork.openwrt.org/patch/3214/ Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net> SVN-Revision: 36172
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rw-r--r--target/linux/ramips/base-files/lib/preinit/06_set_iface_mac1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
6 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 40785287db..de5a542f38 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -52,6 +52,7 @@ case "$FIRMWARE" in
;;
3g-6200n | \
+ 3g-6200nl | \
3g300m | \
air3gii | \
all0239-3g | \
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 104f201fb9..65497266ee 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -18,6 +18,9 @@ case $board in
set_wifi_led "edimax:amber:wlan"
set_usb_led "edimax:blue:3g"
;;
+ 3g-6200nl)
+ set_wifi_led "edimax:green:wlan"
+ ;;
3g300m)
set_usb_led "tenda:blue:3g"
;;
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 d6ab75afa5..7d30f72f08 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -46,6 +46,7 @@ ramips_setup_interfaces()
;;
dir-615-h1 | \
+ 3g-6200nl | \
wl-330n)
ucidef_set_interface_lan "eth0.1"
;;
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
index fcfb86bd59..e860309ec4 100644
--- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
+++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
@@ -10,6 +10,7 @@ preinit_set_mac_address() {
case $(ramips_board_name) in
3g-6200n |\
+ 3g-6200nl |\
3g300m | \
mzk-w300nh2 |\
wl-330n |\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 6638b0a001..2a713f8c65 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -33,6 +33,9 @@ ramips_board_detect() {
*"Edimax 3g-6200n")
name="3g-6200n"
;;
+ *"Edimax 3g-6200nl")
+ name="3g-6200nl"
+ ;;
*"AirLive Air3GII")
name="air3gii"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 97cc382b39..a6f52cd143 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -15,6 +15,7 @@ platform_check_image() {
case "$board" in
3g-6200n | \
+ 3g-6200nl | \
3g300m | \
air3gii | \
all0239-3g | \