aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-11-24 18:30:19 +0000
committerJohn Crispin <blogic@openwrt.org>2015-11-24 18:30:19 +0000
commit49d38ad8c15d948426d4b48b6f2e7d7f3480c686 (patch)
tree8ed3da20af575dc14de000351ce53fc438287f87 /target/linux/ar71xx/base-files/etc/board.d/02_network
parentd95f4c6ca377edcdf8c827a50b5e67e12313f9f6 (diff)
downloadmaster-187ad058-49d38ad8c15d948426d4b48b6f2e7d7f3480c686.tar.gz
master-187ad058-49d38ad8c15d948426d4b48b6f2e7d7f3480c686.tar.bz2
master-187ad058-49d38ad8c15d948426d4b48b6f2e7d7f3480c686.zip
ar71xx: add GL-AR300 support V3
This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47621 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index de86ba54c8..a5a40a177d 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -408,6 +408,12 @@ wpe72)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
+gl-ar300)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4"
+ ;;
+
wpj344)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"