summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-16 21:19:18 +0000
committerJohn Crispin <john@openwrt.org>2015-02-16 21:19:18 +0000
commit361839151407c897bb1856bc66712a28dc7f0024 (patch)
tree284caad2ce76c6a7a53fdc095b000b4784c59174 /target/linux/ramips/base-files/etc/board.d/02_network
parentf440414c55f770e02e3b6a4b827b7b3820fd9101 (diff)
downloadmaster-31e0f0ae-361839151407c897bb1856bc66712a28dc7f0024.tar.gz
master-31e0f0ae-361839151407c897bb1856bc66712a28dc7f0024.tar.bz2
master-31e0f0ae-361839151407c897bb1856bc66712a28dc7f0024.zip
ramips: Buffalo WZR-AGL300NH target support
I got work with this patch. Ethernet switch (includes VLAN), WiFi connected via PCIe, LEDs, buttons. In mtd partion map of DTS file, I renamed Linux firmware regions (kernel + root squashfs) to “firmware”because it allows kernel to split kernel and roots and rootfsdata. signed-off-by: ngc@ff.iij4u.or.jp —— —— SVN-Revision: 44470
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d/02_network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index f298aa47af..7e9d8c984b 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -242,6 +242,12 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch1" "2" "4 6t"
;;
+ wzr-agl300nh)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5t"
+ ucidef_add_switch_vlan "switch0" "2" "0 5t"
+ ;;
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then