From 669a7a07102ca25d3c416cfeb0c939e5cdf092b7 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 19 Jun 2012 00:22:04 +0000 Subject: ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32447 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 6 ++++++ target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 +++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 3 files changed, 10 insertions(+) (limited to 'target/linux/ar71xx/base-files') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 3fbb9fcca..993e02478 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -184,6 +184,12 @@ wzr-hp-g450h) ucidef_add_switch_vlan "eth0" "2" "0t 1" ;; +ew-dorin) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ucidef_add_switch "eth0" "1" "1" + ucidef_add_switch_vlan "eth0" "1" "0 2 3" + ;; + *) ucidef_set_interfaces_lan_wan "eth0" "eth1" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index ddeee3e77..e4a92af75 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -376,6 +376,9 @@ ar71xx_board_detect() { *ZCN-1523H-5) name="zcn-1523h-5" ;; + *EmbWir-Dorin) + name="ew-dorin" + ;; 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 a3295ed5f..10ba6f854 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -93,6 +93,7 @@ platform_check_image() { } return 0 ;; + ew-dorin | \ ap81 | \ ap83 | \ dir-600-a1 | \ -- cgit v1.2.3