aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-01 12:24:57 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-01 12:24:57 +0000
commit4790652498161ab57c91e0038c4a99b3080e360a (patch)
tree71bb4566aaee85c1aae94fe61a2b8b6833ce48e0 /target/linux/ar71xx/base-files
parentf4c0dcd203c959e1bc171777c2817d24a5b3e61d (diff)
downloadupstream-4790652498161ab57c91e0038c4a99b3080e360a.tar.gz
upstream-4790652498161ab57c91e0038c4a99b3080e360a.tar.bz2
upstream-4790652498161ab57c91e0038c4a99b3080e360a.zip
ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code] Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh3
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 3a5b704e74..ae4b88b7c7 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -133,6 +133,7 @@ wzr-hp-g300nh)
aw-nr580 |\
bullet-m |\
eap7660d |\
+ew-dorin |\
rb-411 |\
tl-mr11u |\
tl-mr3020 |\
@@ -186,7 +187,7 @@ wzr-hp-g450h)
ucidef_add_switch_vlan "eth0" "2" "0t 1"
;;
-ew-dorin)
+ew-dorin-router)
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0 2 3"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 2829d9f290..648cca8b5a 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -399,6 +399,9 @@ ar71xx_board_detect() {
*EmbWir-Dorin)
name="ew-dorin"
;;
+ *EmbWir-Dorin-Router)
+ name="ew-dorin-router"
+ ;;
esac
case "$machine" in
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 0e086039c5..fb5fe7318a 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -94,13 +94,14 @@ platform_check_image() {
}
return 0
;;
- ew-dorin | \
ap81 | \
ap83 | \
dir-600-a1 | \
dir-615-c1 | \
dir-615-e4 | \
dir-825-b1 | \
+ ew-dorin | \
+ ew-dorin-router | \
mzk-w04nu | \
mzk-w300nh | \
tew-632brp | \