pci: Remove igc produt config

to simplify the configuration since the driver could detect the device correctly

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2024-11-16 23:48:08 +08:00
committed by Mateusz Szafoni
parent 775ff286a4
commit d7209fabf4
3 changed files with 0 additions and 19 deletions
-10
View File
@@ -205,7 +205,6 @@ static int igc_probe(FAR struct pci_device_s *dev);
* Private Data
*****************************************************************************/
#ifdef CONFIG_NET_IGC_I225LM
/* Intel I225LM */
static const struct igc_type_s g_igc_i225lm =
@@ -213,32 +212,23 @@ static const struct igc_type_s g_igc_i225lm =
.desc_align = 128,
.mta_regs = 128
};
#endif
#ifdef CONFIG_NET_IGC_I226V
/* Intel I226V */
static const struct igc_type_s g_igc_i226v =
{
.desc_align = 128,
.mta_regs = 128
};
#endif
static const struct pci_device_id_s g_igc_id_table[] =
{
#ifdef CONFIG_NET_IGC_I225LM
{
PCI_DEVICE(0x8086, 0x15f2),
.driver_data = (uintptr_t)&g_igc_i225lm
},
#endif
#ifdef CONFIG_NET_IGC_I226V
{
PCI_DEVICE(0x8086, 0x125c),
.driver_data = (uintptr_t)&g_igc_i226v
},
#endif
{ }
};