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