ath79: improve support for GL.iNet GL-XE300
[openwrt/staging/chunkeey.git] / target / linux / ath79 / nand / base-files / etc / board.d / 02_network
index 417a881e5b6363cbc1ef463e45012c658fabef13..bda4eeb917dadbcffe36e000fba4008d90233d12 100644 (file)
@@ -25,6 +25,11 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan:2" "3:lan:1" "1:wan"
                ;;
+       glinet,gl-xe300)
+               ucidef_set_interface_wan "eth1"
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "4:lan"
+               ;;
        netgear,r6100)
                ucidef_set_interface_wan "eth1"
                ucidef_add_switch "switch0" \