summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-17 10:08:41 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-17 10:08:41 +0000
commit831a30d79f14c23c9b14d30f6aa1ffa371770802 (patch)
treebbdd779ae95d90b45335c37860d698f7d01e4cfe
parent39ab3b83961263a62f2d733aa9bcebaa5e2a3d11 (diff)
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
-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 7d825d7a1..b1f84da60 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 3fd23d2a4..a9c03b695 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"
;;