From 49d38ad8c15d948426d4b48b6f2e7d7f3480c686 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 24 Nov 2015 18:30:19 +0000 Subject: ar71xx: add GL-AR300 support V3 This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47621 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/board.d/02_network | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc/board.d/02_network') 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" -- cgit v1.2.3