ath79: add support for Buffalo BHR-4GRV
[openwrt/openwrt.git] / target / linux / ath79 / base-files / etc / board.d / 02_network
index 54fbe7b..e608825 100755 (executable)
@@ -27,11 +27,7 @@ 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,bhr-4grv|\
        buffalo,wzr-hp-g450h)
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan" "3:lan" "4:lan" "5:lan" "1:wan"
@@ -40,6 +36,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "6@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"
+               ;;
        dlink,dir-825-b1)
                ucidef_set_interface_wan "eth1"
                ucidef_add_switch "switch0" \