ipq40xx: add support for the ZyXEL NBG6617
[openwrt/staging/lynxis.git] / target / linux / ipq40xx / base-files / etc / board.d / 02_network
index 8f8d67db32dab843cbb1f7178d931705dc4ad077..5c90ef136fd7cbbe023001030d8c9003347bd249 100755 (executable)
@@ -12,6 +12,9 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
+8dev,jalapeno)
+       ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ;;
 asus,rt-ac58u)
        CI_UBIPART=UBI_DEV
        wan_mac_addr=$(mtd_get_mac_binary_ubi Factory 20486)
@@ -27,14 +30,29 @@ avm,fritzbox-4040)
        ucidef_add_switch "switch0" \
                "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
        ;;
+compex,wpj428)
+       ucidef_set_interface_lan "eth0 eth1"
+       ;;
 glinet,gl-b1300)
        ucidef_set_interfaces_lan_wan "eth0" "eth1"
        ucidef_add_switch "switch0" \
                "0u@eth0" "3:lan" "4:lan"
        ;;
-openmesh,a42)
+openmesh,a42 |\
+openmesh,a62)
        ucidef_set_interfaces_lan_wan "eth1" "eth0"
        ;;
+meraki,mr33 |\
+netgear,ex6100v2 |\
+netgear,ex6150v2 |\
+zyxel,wre6606)
+       ucidef_set_interface_lan "eth0"
+       ;;
+zyxel,nbg6617)
+       ucidef_set_interfaces_lan_wan "eth0" "eth1"
+       ucidef_add_switch "switch0" \
+               "0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+       ;;
 *)
        echo "Unsupported hardware. Network interfaces not intialized"
        ;;