aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-17 10:08:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-17 10:08:41 +0000
commit4633f1708beef9d5bc5a32b3703a24e8e6ab7982 (patch)
treebbdd779ae95d90b45335c37860d698f7d01e4cfe /target
parent1faf7940dcda7d66b42215e5881a1801505d489a (diff)
downloadupstream-4633f1708beef9d5bc5a32b3703a24e8e6ab7982.tar.gz
upstream-4633f1708beef9d5bc5a32b3703a24e8e6ab7982.tar.bz2
upstream-4633f1708beef9d5bc5a32b3703a24e8e6ab7982.zip
ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts] Patchwork: http://patchwork.openwrt.org/patch/3257/ Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
index 7d825d7a10..b1f84da605 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/02_network
@@ -97,6 +97,7 @@ routerstation-pro)
ap136 |\
rb-750gl |\
rb-751g |\
+rb-951g-2hnd |\
wzr-hp-g450h)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 3fd23d2a41..a9c03b6955 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -318,6 +318,9 @@ ar71xx_board_detect() {
*"RouterBOARD 751G")
name="rb-751g"
;;
+ *"RouterBOARD 951G-2HnD")
+ name="rb-951g-2hnd"
+ ;;
*"RouterBOARD 2011L")
name="rb-2011l"
;;