summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-09-09 14:05:32 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-09-09 14:05:32 +0000
commitaa2f4d4c8d753a90136a165ff70e15a1eb090183 (patch)
tree4b9785d09e623792d7a3f32c93a3db87b3367fa3 /target/linux/ar71xx/base-files
parent3686e187272855915e42762426c6ea4fb15a2ba8 (diff)
downloadmtk-20170518-aa2f4d4c8d753a90136a165ff70e15a1eb090183.zip
mtk-20170518-aa2f4d4c8d753a90136a165ff70e15a1eb090183.tar.gz
mtk-20170518-aa2f4d4c8d753a90136a165ff70e15a1eb090183.tar.bz2
ar71xx: add initial support for RB2011UAS-2HnD
SVN-Revision: 33349
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
2 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index f4fa7a2..f749cc6 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -22,7 +22,8 @@ ja76pf2)
;;
db120 |\
-rb-2011l)
+rb-2011l | \
+rb-2011uas-2hnd)
ucidef_set_interfaces_lan_wan "eth0.1 eth1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a007c4f..8db9830 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -294,6 +294,9 @@ ar71xx_board_detect() {
*"RouterBOARD 2011L")
name="rb-2011l"
;;
+ *"RouterBOARD 2011UAS-2HnD")
+ name="rb-2011uas-2hnd"
+ ;;
*"Rocket M")
name="rocket-m"
;;