From 3fcb8f1ea170aaf0cfa9de1cb7945045b5170294 Mon Sep 17 00:00:00 2001
From: Sukru Senli <sukru.senli@iopsys.eu>
Date: Mon, 22 Nov 2021 09:25:05 +0100
Subject: [PATCH] db: remove unused ethernetPorts option

---
 intel_mips/README.md                                             | 1 -
 intel_mips/base-files/etc/board-db/boards/EASY350                | 1 -
 intel_mips/base-files/etc/board-db/boards/EASY550                | 1 -
 intel_mips/base-files/etc/board-db/boards/NORRLAND               | 1 -
 intel_mips/base-files/etc/board-db/boards/SPEEDPORT_SMART3       | 1 -
 iopsys-armvirt/base-files/etc/board-db/boards/ARMVIRT            | 1 -
 .../base-files/etc/board-db/boards/963138REF_P502                | 1 -
 .../base-files/etc/board-db/boards/963138REF_P802                | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/96752REF1     | 1 -
 .../base-files/etc/board-db/boards/968580XREF_PHY                | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/DG400PRIMER0  | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/E600          | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/EX600         | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6416      | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6426      | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6476      | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3410B     | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B     | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6414      | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6426      | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6476      | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_PX2310     | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/SMARTHUB3_R0A | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/WE7202242SA   | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XG6846B       | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XGX           | 1 -
 iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XUG534        | 1 -
 iopsys-econet/base-files/etc/board-db/boards/arcee               | 1 -
 iopsys-econet/base-files/etc/board-db/boards/rodimus             | 1 -
 iopsys-ramips/mt7621/base-files/etc/board-db/boards/EX400        | 1 -
 30 files changed, 30 deletions(-)

diff --git a/intel_mips/README.md b/intel_mips/README.md
index 40d4ef2c3..91fdd3c17 100644
--- a/intel_mips/README.md
+++ b/intel_mips/README.md
@@ -260,7 +260,6 @@ config board 'board'
 	option VoicePortNames 'Tel_1 Tel_2'
 	option VoicePortOrder 'tapi0 tapi1'
 	option hasWifi '1'
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0_1 eth0_2 eth0_3 eth0_4 eth1'
 	option ethernetLanPorts 'eth0_1 eth0_2 eth0_3 eth0_4'
diff --git a/intel_mips/base-files/etc/board-db/boards/EASY350 b/intel_mips/base-files/etc/board-db/boards/EASY350
index 9d2ab4e00..980d045f6 100644
--- a/intel_mips/base-files/etc/board-db/boards/EASY350
+++ b/intel_mips/base-files/etc/board-db/boards/EASY350
@@ -9,7 +9,6 @@ config board 'board'
 	option hasCatv '0'
 	option hasSfp '0'
 	option hasWifi '1'
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0_1 eth0_2 eth0_3 eth0_4 eth1'
 	option ethernetLanPorts 'eth0_1 eth0_2 eth0_3 eth0_4'
diff --git a/intel_mips/base-files/etc/board-db/boards/EASY550 b/intel_mips/base-files/etc/board-db/boards/EASY550
index 4c8d7e6c4..249303603 100644
--- a/intel_mips/base-files/etc/board-db/boards/EASY550
+++ b/intel_mips/base-files/etc/board-db/boards/EASY550
@@ -12,7 +12,6 @@ config board 'board'
 	option VoicePortNames 'Tel_1 Tel_2'
 	option VoicePortOrder 'tapi0 tapi1'
 	option hasWifi '1'
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0_1 eth0_2 eth0_3 eth0_4 eth1'
 	option ethernetLanPorts 'eth0_1 eth0_2 eth0_3 eth0_4'
diff --git a/intel_mips/base-files/etc/board-db/boards/NORRLAND b/intel_mips/base-files/etc/board-db/boards/NORRLAND
index 256c7caf9..7d4662e4b 100644
--- a/intel_mips/base-files/etc/board-db/boards/NORRLAND
+++ b/intel_mips/base-files/etc/board-db/boards/NORRLAND
@@ -14,7 +14,6 @@ config board 'board'
 	option VoicePortNames 'Tel_1 Tel_2'
 	option VoicePortOrder 'tapi0 tapi1'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0_1 eth0_2 eth0_3 eth0_4 eth1'
 	option ethernetLanPorts 'eth0_1 eth0_2 eth0_3 eth0_4'
diff --git a/intel_mips/base-files/etc/board-db/boards/SPEEDPORT_SMART3 b/intel_mips/base-files/etc/board-db/boards/SPEEDPORT_SMART3
index c618de308..d8b9a13f9 100644
--- a/intel_mips/base-files/etc/board-db/boards/SPEEDPORT_SMART3
+++ b/intel_mips/base-files/etc/board-db/boards/SPEEDPORT_SMART3
@@ -12,7 +12,6 @@ config board 'board'
 	option VoicePortNames 'Tel_1 Tel_2'
 	option VoicePortOrder 'tapi0 tapi1'
 	option hasWifi '1'
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0_1 eth0_2 eth0_3 eth0_4 eth1'
 	option ethernetLanPorts 'eth0_1 eth0_2 eth0_3 eth0_4'
diff --git a/iopsys-armvirt/base-files/etc/board-db/boards/ARMVIRT b/iopsys-armvirt/base-files/etc/board-db/boards/ARMVIRT
index 8befa0c05..1b176ee0c 100644
--- a/iopsys-armvirt/base-files/etc/board-db/boards/ARMVIRT
+++ b/iopsys-armvirt/base-files/etc/board-db/boards/ARMVIRT
@@ -1,6 +1,5 @@
 config board 'board'
 	# Ethernet
-        option ethernetPorts '2'
         option ethernetPortNames 'LAN WAN'
         option ethernetPortOrder 'eth0 eth1'
         option ethernetLanPorts 'eth0'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P502 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P502
index c7c8a1c96..d5b937f4b 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P502
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P502
@@ -14,7 +14,6 @@ config board 'board'
 	option VoicePortNames 'DECT_1 DECT_2 DECT_3 DECT_4 Tel_1 Tel_2'
 	option VoicePortOrder 'brcm0 brcm1 brcm2 brcm3 brcm5 brcm4'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth1 eth2 eth3 eth4 eth0'
 	option ethernetLanPorts 'eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P802 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P802
index c7c8a1c96..d5b937f4b 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P802
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/963138REF_P802
@@ -14,7 +14,6 @@ config board 'board'
 	option VoicePortNames 'DECT_1 DECT_2 DECT_3 DECT_4 Tel_1 Tel_2'
 	option VoicePortOrder 'brcm0 brcm1 brcm2 brcm3 brcm5 brcm4'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth1 eth2 eth3 eth4 eth0'
 	option ethernetLanPorts 'eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/96752REF1 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/96752REF1
index 1e03bb66e..ec63dfab4 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/96752REF1
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/96752REF1
@@ -10,7 +10,6 @@ config board 'board'
 	option hasSfp '0'
 	option hasWifi '1'
 	# Ethernet
-	option ethernetPorts '2'
 	option ethernetPortNames 'LAN1 LAN2'
 	option ethernetPortOrder 'eth0 eth1'
 	option ethernetLanPorts 'eth0 eth1'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/968580XREF_PHY b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/968580XREF_PHY
index 2d38713a1..51ab3b945 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/968580XREF_PHY
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/968580XREF_PHY
@@ -9,7 +9,6 @@ config board 'board'
 	option hasUsb '0'
 	option hasWifi '0'
 	# Ethernet
-	option ethernetPorts '2'
 	option ethernetWanPort 'eth5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 LAN5 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4 eth5'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/DG400PRIMER0 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/DG400PRIMER0
index d84a6c864..6f8cce02e 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/DG400PRIMER0
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/DG400PRIMER0
@@ -14,7 +14,6 @@ config board 'board'
 	option VoicePortNames 'DECT_1 DECT_2 DECT_3 DECT_4 Tel_1 Tel_2'
 	option VoicePortOrder 'brcm0 brcm1 brcm2 brcm3 brcm5 brcm4'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth1 eth2 eth3 eth4 eth0'
 	option ethernetLanPorts 'eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/E600 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/E600
index ee4c1b916..41e5044f5 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/E600
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/E600
@@ -12,7 +12,6 @@ config board 'board'
 	# Voice
 	option VoicePorts '2'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/EX600 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/EX600
index d120c5132..f164d20a9 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/EX600
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/EX600
@@ -10,7 +10,6 @@ config board 'board'
 	option hasSfp '0'
 	option hasWifi '1'
 	# Ethernet
-	option ethernetPorts '3'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 WAN'
 	option ethernetPortOrder 'eth1 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6416 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6416
index 28ac2569c..91b19cda3 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6416
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6416
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'gpondef'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 gpondef'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6426 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6426
index 92f0b5d8c..ed3e2e8f1 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6426
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6426
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'gpondef'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 gpondef'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6476 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6476
index 92f0b5d8c..ed3e2e8f1 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6476
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_G6476
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'gpondef'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 gpondef'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3410B b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3410B
index 823f38a72..311c664f5 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3410B
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3410B
@@ -14,7 +14,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth3 eth2 eth1 eth0 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B
index 52ee36b49..077fda973 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P3414B
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN4 LAN3 LAN2 LAN1 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6414 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6414
index bdea2248f..fb41cfdc0 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6414
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6414
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6426 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6426
index 3a6e0cd77..112280025 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6426
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6426
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6476 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6476
index 3a6e0cd77..112280025 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6476
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_P6476
@@ -15,7 +15,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_PX2310 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_PX2310
index 034a54371..f4a698df7 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_PX2310
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/FT_PX2310
@@ -17,7 +17,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-1'
 	# Ethernet
-	option ethernetPorts '4'
 	option ethernetWanPort 'eth3'
 	option ethernetPortNames 'LAN3 LAN2 LAN1 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/SMARTHUB3_R0A b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/SMARTHUB3_R0A
index 74d62cb97..3dbba6b12 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/SMARTHUB3_R0A
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/SMARTHUB3_R0A
@@ -13,7 +13,6 @@ config board 'board'
 	option VoicePortNames 'DECT_1 DECT_2 DECT_3 Tel_1'
 	option VoicePortOrder 'brcm0 brcm1 brcm2 brcm3'
 	# Ethernet
-	option ethernetPorts '4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth1 eth2 eth3 eth4 eth0'
 	option ethernetLanPorts 'eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/WE7202242SA b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/WE7202242SA
index c015a4eba..4d3a56048 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/WE7202242SA
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/WE7202242SA
@@ -14,7 +14,6 @@ config board 'board'
 	option VoicePortNames ''
 	option VoicePortOrder ''
 	# Ethernet
-	option ethernetPorts '2'
 	option ethernetPortNames 'LAN1 WAN'
 	option ethernetPortOrder 'eth0 eth1'
 	option ethernetLanPorts 'eth0'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XG6846B b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XG6846B
index 7bd57a62d..33fbd7f8f 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XG6846B
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XG6846B
@@ -16,7 +16,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-0'
 	# Ethernet
-	option ethernetPorts '6'
 	option ethernetWanPort 'eth5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth5'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XGX b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XGX
index 795626b84..99cf5a7d7 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XGX
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XGX
@@ -16,7 +16,6 @@ config board 'board'
 	# SFP
 	option sfpBus '/dev/i2c-1'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetWanPort 'eth4'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XUG534 b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XUG534
index be899d850..37df69298 100644
--- a/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XUG534
+++ b/iopsys-brcm63xx-arm/base-files/etc/board-db/boards/XUG534
@@ -11,7 +11,6 @@ config board 'board'
 	# SFP
         option sfpBus '/dev/i2c-0'
 	# Ethernet
-        option ethernetPorts '5'
         option ethernetWanPort 'eth4'
         option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
         option ethernetPortOrder 'eth0 eth1 eth2 eth3 eth4'
diff --git a/iopsys-econet/base-files/etc/board-db/boards/arcee b/iopsys-econet/base-files/etc/board-db/boards/arcee
index d06313513..777a9872e 100644
--- a/iopsys-econet/base-files/etc/board-db/boards/arcee
+++ b/iopsys-econet/base-files/etc/board-db/boards/arcee
@@ -11,7 +11,6 @@ config board 'board'
 	option hasSfp '0'
 	option hasWifi '1'
 	# Ethernet
-	option ethernetPorts '2'
 	option ethernetPortNames 'LAN1 LAN2'
 	option ethernetPortOrder 'eth0.1 eth0.2'
 	option ethernetLanPorts 'eth0.1 eth0.2'
diff --git a/iopsys-econet/base-files/etc/board-db/boards/rodimus b/iopsys-econet/base-files/etc/board-db/boards/rodimus
index 2d1bdb381..e10979228 100644
--- a/iopsys-econet/base-files/etc/board-db/boards/rodimus
+++ b/iopsys-econet/base-files/etc/board-db/boards/rodimus
@@ -11,7 +11,6 @@ config board 'board'
 	option hasSfp '0'
 	option hasWifi '1'
 	# Ethernet
-	option ethernetPorts '5'
 	option ethernetPortNames 'LAN1 LAN2 LAN3 LAN4 WAN'
 	option ethernetPortOrder 'eth0.1 eth0.2 eth0.3 eth0.4 eth1'
 	option ethernetLanPorts 'eth0.1 eth0.2 eth0.3 eth0.4'
diff --git a/iopsys-ramips/mt7621/base-files/etc/board-db/boards/EX400 b/iopsys-ramips/mt7621/base-files/etc/board-db/boards/EX400
index 15e7d4b91..e9288c5c1 100644
--- a/iopsys-ramips/mt7621/base-files/etc/board-db/boards/EX400
+++ b/iopsys-ramips/mt7621/base-files/etc/board-db/boards/EX400
@@ -10,7 +10,6 @@ config board 'board'
 	option hasSfp '0'
 	option hasWifi '1'
 	# Ethernet
-	option ethernetPorts '2'
 	option ethernetPortNames 'LAN WAN'
 	option ethernetPortOrder 'lan wan'
 	option ethernetSwitchPortOrder '1 0'
-- 
GitLab