aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-19 15:57:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-19 15:57:04 +0000
commit8a2e4b49dee0cb5289581375929147e9d72c7b9b (patch)
treed56b58aeea3726df44f88e0a59bbc1404d4c9fb6 /target/linux/ar71xx/base-files
parentd19f3dd5121927747d3f56a0939db9a17bf8fc6b (diff)
downloadupstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.gz
upstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.bz2
upstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.zip
ar71xx: add initial support for RB750GL
SVN-Revision: 31025
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network8
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh3
2 files changed, 11 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 6d1f8a1a6d..2aa91d315d 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -62,6 +62,14 @@ routerstation-pro)
ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
;;
+rb-750gl |\
+wzr-hp-g450h)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
+ ucidef_add_switch_vlan "switch0" "2" "0t 1"
+ ;;
+
rb-493g)
ucidef_set_interfaces_lan_wan "eth0 eth1.1" "eth1.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 b51f3a7c63..be42aad9e5 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -247,6 +247,9 @@ ar71xx_board_detect() {
*"RouterBOARD 750")
name="rb-750"
;;
+ *"RouterBOARD 750GL")
+ name="rb-750gl"
+ ;;
*"Rocket M")
name="rocket-m"
;;