summaryrefslogtreecommitdiff
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
commit4215b1c93c0314f2aa8b3daaa65d2826903dd9da (patch)
tree679b4434a9c7d11b320079747668b685f2919242
parent7a709573d741364d0ace010b2794ee21edc4d0ab (diff)
downloadmtk-20170518-4215b1c93c0314f2aa8b3daaa65d2826903dd9da.zip
mtk-20170518-4215b1c93c0314f2aa8b3daaa65d2826903dd9da.tar.gz
mtk-20170518-4215b1c93c0314f2aa8b3daaa65d2826903dd9da.tar.bz2
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> SVN-Revision: 35634
-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 7d825d7..b1f84da 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 3fd23d2..a9c03b6 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"
;;