aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-01 08:31:46 +0000
committerJohn Crispin <john@openwrt.org>2015-04-01 08:31:46 +0000
commit449c5f7b30e3ec4d685c11ecf88f3412be6a22cf (patch)
treeb29bf0addf50ee3201e2c1731aefcce3b145617c /target/linux/ramips/base-files/etc/board.d
parentd542c038c517537665129fa236b8dc57235deeb9 (diff)
downloadupstream-449c5f7b30e3ec4d685c11ecf88f3412be6a22cf.tar.gz
upstream-449c5f7b30e3ec4d685c11ecf88f3412be6a22cf.tar.bz2
upstream-449c5f7b30e3ec4d685c11ecf88f3412be6a22cf.zip
ramips: Add support for ZTE Q7
ZTE Q7 is a wireless router with SD Card,USB,1 ethernet port and a battery.It used MT7620a SoC. I can,t find any information about this router on ZTE's website. But I found this : http://en.cctairmobi.com/plus/list.php?tid=40 This router is the same as ZTE Q7 and later I found that both routers are made by the same company:-D This patch adds support for it. Because there is only one port,I disabled VLAN and use eth0 as lan port. I could only create a sysupgrade firmware because I don't know how the orignal webpage check the uploaded image:-( Signed-off-by: 郭传鈜 <gch981213@gmail.com> SVN-Revision: 45208
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
2 files changed, 4 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 bfe1c0c7f2..56ba3b73ce 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -237,6 +237,9 @@ case $board in
set_usb_led "lenovo:blue:usb"
set_wifi_led "lenovo:blue:wifi"
;;
+ zte-q7)
+ set_wifi_led "zte:blue:status"
+ ;;
esac
board_config_flush
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 89d1681062..d4ec19d6cd 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -46,6 +46,7 @@ ramips_setup_interfaces()
3g150b | \
3g300m | \
w150m | \
+ zte-q7 | \
all0256n | \
all5002 | \
all5003 | \