xref: /linux/drivers/net/ethernet/synopsys/Kconfig (revision 6adc19fd13f11883c44df67b551cf8201e6bba1d)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Synopsys network device configuration
4#
5
6config NET_VENDOR_SYNOPSYS
7	bool "Synopsys devices"
8	default y
9	help
10	  If you have a network (Ethernet) device belonging to this class, say Y.
11
12	  Note that the answer to this question doesn't directly affect the
13	  kernel: saying N will just cause the configurator to skip all
14	  the questions about Synopsys devices. If you say Y, you will be asked
15	  for your specific device in the following questions.
16
17if NET_VENDOR_SYNOPSYS
18
19config DWC_XLGMAC
20	tristate "Synopsys DWC Enterprise Ethernet (XLGMAC) driver support"
21	depends on HAS_IOMEM && HAS_DMA
22	select BITREVERSE
23	select CRC32
24	help
25	  This driver supports the Synopsys DesignWare Cores Enterprise
26	  Ethernet (dwc-xlgmac).
27
28if DWC_XLGMAC
29
30config DWC_XLGMAC_PCI
31	tristate "XLGMAC PCI bus support"
32	depends on DWC_XLGMAC && PCI
33	help
34	  This selects the pci bus support for the dwc-xlgmac driver.
35	  This driver was tested on Synopsys XLGMAC IP Prototyping Kit.
36
37	  If you have a controller with this interface, say Y or M here.
38	  If unsure, say N.
39
40endif # DWC_XLGMAC
41
42endif # NET_VENDOR_SYNOPSYS
43