diff options
author | John Crispin <john@openwrt.org> | 2015-11-02 10:18:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-11-02 10:18:19 +0000 |
commit | 165244a222bf466bd952bac38de1cbdd53a80113 (patch) | |
tree | 2f4da7113ce0d9e65b1a4c295a61d76def261c94 /target/linux/ramips/base-files | |
parent | 0f4b153e3d3c7e49d85a541dbfbd45109e396ad9 (diff) | |
download | upstream-165244a222bf466bd952bac38de1cbdd53a80113.tar.gz upstream-165244a222bf466bd952bac38de1cbdd53a80113.tar.bz2 upstream-165244a222bf466bd952bac38de1cbdd53a80113.zip |
ramips: add support for ZBT WG2626
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47351
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 8 insertions, 2 deletions
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 21e3641778..382174298a 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -83,7 +83,8 @@ ramips_setup_interfaces() wsr-1166|\ wsr-600|\ wt1520|\ - y1) + y1|\ + zbt-wg2626) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 537675960f..e0dd92ab97 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -62,7 +62,8 @@ get_status_led() { rut5xx|\ v11st-fe|\ vocore|\ - wmr-300) + wmr-300|\ + zbt-wg2626) status_led="$board:green:status" ;; atp-52b|\ diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 2ed09c9b33..62a79c505c 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -454,6 +454,9 @@ ramips_board_detect() { *"ZBT-WA05") name="zbt-wa05" ;; + *"ZBT-WG2626") + name="zbt-wg2626" + ;; *"ZBT-WR8305RT") name="zbt-wr8305rt" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 33ec8cc854..3d4b73afb6 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -132,6 +132,7 @@ platform_check_image() { y1|\ y1s|\ zbt-wa05|\ + zbt-wg2626|\ zbt-wr8305rt|\ zte-q7) [ "$magic" != "27051956" ] && { |