ath79: add support for Buffalo WZR-HP-AG300H
[openwrt/staging/stintel.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index 6cd794e3d953a414545bd8beb104b10b87b0906d..54fbe7b35009ba69f20459aa7aa42fbc0047abe1 100755 (executable)
@@ -27,6 +27,11 @@ ath79_setup_interfaces()
        wd,mynet-wifi-rangeextender)
                ucidef_set_interface_lan "eth0"
                ;;
+       buffalo,wzr-hp-ag300h)
+               ucidef_set_interface_wan "eth1"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+               ;;
        buffalo,wzr-hp-g450h)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan"