summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-11-18 10:18:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-11-18 10:18:02 +0000
commit169e59626805e65022eb757ae0d4e4abf03de5e7 (patch)
tree821f8ad678e0dccb5b8ba1a18a5f738d0b1f809f /target/linux/ar71xx
parentd44d954dec6c9c2647a5d66e9d049eeb02367bc7 (diff)
downloadmtk-20170518-169e59626805e65022eb757ae0d4e4abf03de5e7.zip
mtk-20170518-169e59626805e65022eb757ae0d4e4abf03de5e7.tar.gz
mtk-20170518-169e59626805e65022eb757ae0d4e4abf03de5e7.tar.bz2
ar71xx: add user-space support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34240
Diffstat (limited to 'target/linux/ar71xx')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
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 377f0b3..7fa219d 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 22eae94..2bc8194 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"
;;