ar71xx: add user-space support for the RB435G board
authorGabor Juhos <juhosg@openwrt.org>
Sun, 18 Nov 2012 10:18:02 +0000 (10:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 18 Nov 2012 10:18:02 +0000 (10:18 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34240

target/linux/ar71xx/base-files/etc/uci-defaults/network
target/linux/ar71xx/base-files/lib/ar71xx.sh

index 377f0b35a5005150a36e768b6371b641624a32b6..7fa219dbbd5c88de6f1860d58197d98241c4b7ca 100755 (executable)
@@ -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"
index 22eae9458b3a9cb8cb1b432ed61ea28ade45c9bc..2bc8194dfbd81e38a59f6755798ffbbe4e263f24 100755 (executable)
@@ -270,6 +270,9 @@ ar71xx_board_detect() {
        *"RouterBOARD 433UAH")
                name="rb-433u"
                ;;
+       *"RouterBOARD 435G")
+               name="rb-435g"
+               ;;
        *"RouterBOARD 450")
                name="rb-450"
                ;;