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
commit935d0cf7fe8377922a3b8407d3b4143a9461869b (patch)
treeaa662c0f46a83cdc9fc8a2b6f6d9b2c31e17ccfd /target/linux/ar71xx/base-files
parentfcb6507f7b1e36f049dfd811a706ea344d04bc85 (diff)
downloadmaster-187ad058-935d0cf7fe8377922a3b8407d3b4143a9461869b.tar.gz
master-187ad058-935d0cf7fe8377922a3b8407d3b4143a9461869b.tar.bz2
master-187ad058-935d0cf7fe8377922a3b8407d3b4143a9461869b.zip
ar71xx: add initial support for RB750GL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
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"
;;