diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-25 16:22:39 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-25 16:22:39 +0000 |
commit | b7e52d394c9549b1c07e56a39239aa646103cf8c (patch) | |
tree | c91975d40154e7aed342b41ff84bceeccd087db0 | |
parent | f8bb1d9eb90585a4e3881d0cbef06a3aaf91f63c (diff) | |
download | openwrt-b7e52d394c9549b1c07e56a39239aa646103cf8c.tar.gz openwrt-b7e52d394c9549b1c07e56a39239aa646103cf8c.zip |
AA: ar71xx: add user-space support for the RB435G board
Backport of r34240.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34355 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 6 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 377f0b35a..7fa219dbb 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -53,6 +53,12 @@ rb-433u) ucidef_add_switch_vlan "switch0" "1" "1 2 5" ;; +rb-435g) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "0 1 2" + ;; + rb-450) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "eth1" "1" "1" diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 22eae9458..2bc8194df 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -270,6 +270,9 @@ ar71xx_board_detect() { *"RouterBOARD 433UAH") name="rb-433u" ;; + *"RouterBOARD 435G") + name="rb-435g" + ;; *"RouterBOARD 450") name="rb-450" ;; |