octeontx: update default network config
[openwrt/openwrt.git] / target / linux / octeontx / base-files / etc / board.d / 02_network
index 1397dffa5ef3290a3c75a7a0ce584c23e2b96aad..2727e44e438b5b7dabc798f3bc364d75f7f1ab84 100644 (file)
@@ -9,6 +9,17 @@ board=$(board_name)
 board_config_update
 
 case "$board" in
+gw,gw610x|\
+gw,gw6903)
+       ucidef_set_interfaces_lan 'eth0'
+       ;;
+gw,gw620x|\
+gw,gw630x)
+       ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
+       ;;
+gw,gw640x)
+       ucidef_set_interfaces_lan_wan 'eth0 eth1 eth2 eth3' 'eth4'
+       ;;
 esac
 
 board_config_flush