forked from nuttx/nuttx-update
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:
parent
775ff286a4
commit
d7209fabf4
3 changed files with 0 additions and 19 deletions
|
@ -73,7 +73,6 @@ CONFIG_NET_E1000=y
|
||||||
CONFIG_NET_ETH_PKTSIZE=1514
|
CONFIG_NET_ETH_PKTSIZE=1514
|
||||||
CONFIG_NET_ICMP_SOCKET=y
|
CONFIG_NET_ICMP_SOCKET=y
|
||||||
CONFIG_NET_IGC=y
|
CONFIG_NET_IGC=y
|
||||||
CONFIG_NET_IGC_I225LM=y
|
|
||||||
CONFIG_NET_LL_GUARDSIZE=32
|
CONFIG_NET_LL_GUARDSIZE=32
|
||||||
CONFIG_NET_MAX_LISTENPORTS=8
|
CONFIG_NET_MAX_LISTENPORTS=8
|
||||||
CONFIG_NET_PKT=y
|
CONFIG_NET_PKT=y
|
||||||
|
|
|
@ -796,14 +796,6 @@ config NET_IGC_RXSPARE
|
||||||
int "Intel IGC spare RX buffers"
|
int "Intel IGC spare RX buffers"
|
||||||
default 8
|
default 8
|
||||||
|
|
||||||
config NET_IGC_I225LM
|
|
||||||
bool "Intel I225LM"
|
|
||||||
default n
|
|
||||||
|
|
||||||
config NET_IGC_I226V
|
|
||||||
bool "Intel I226V"
|
|
||||||
default n
|
|
||||||
|
|
||||||
endif # NET_IGC
|
endif # NET_IGC
|
||||||
|
|
||||||
endif # NETDEVICES
|
endif # NETDEVICES
|
||||||
|
|
|
@ -205,7 +205,6 @@ static int igc_probe(FAR struct pci_device_s *dev);
|
||||||
* Private Data
|
* Private Data
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_NET_IGC_I225LM
|
|
||||||
/* Intel I225LM */
|
/* Intel I225LM */
|
||||||
|
|
||||||
static const struct igc_type_s g_igc_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,
|
.desc_align = 128,
|
||||||
.mta_regs = 128
|
.mta_regs = 128
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_NET_IGC_I226V
|
|
||||||
/* Intel I226V */
|
|
||||||
|
|
||||||
static const struct igc_type_s g_igc_i226v =
|
static const struct igc_type_s g_igc_i226v =
|
||||||
{
|
{
|
||||||
.desc_align = 128,
|
.desc_align = 128,
|
||||||
.mta_regs = 128
|
.mta_regs = 128
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
static const struct pci_device_id_s g_igc_id_table[] =
|
static const struct pci_device_id_s g_igc_id_table[] =
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_NET_IGC_I225LM
|
|
||||||
{
|
{
|
||||||
PCI_DEVICE(0x8086, 0x15f2),
|
PCI_DEVICE(0x8086, 0x15f2),
|
||||||
.driver_data = (uintptr_t)&g_igc_i225lm
|
.driver_data = (uintptr_t)&g_igc_i225lm
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_NET_IGC_I226V
|
|
||||||
{
|
{
|
||||||
PCI_DEVICE(0x8086, 0x125c),
|
PCI_DEVICE(0x8086, 0x125c),
|
||||||
.driver_data = (uintptr_t)&g_igc_i226v
|
.driver_data = (uintptr_t)&g_igc_i226v
|
||||||
},
|
},
|
||||||
#endif
|
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue