xref: /openbmc/linux/drivers/net/ethernet/synopsys/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
265e0ace2SJie Deng#
365e0ace2SJie Deng# Synopsys network device configuration
465e0ace2SJie Deng#
565e0ace2SJie Deng
665e0ace2SJie Dengconfig NET_VENDOR_SYNOPSYS
765e0ace2SJie Deng	bool "Synopsys devices"
865e0ace2SJie Deng	default y
965e0ace2SJie Deng	---help---
1065e0ace2SJie Deng	  If you have a network (Ethernet) device belonging to this class, say Y.
1165e0ace2SJie Deng
1265e0ace2SJie Deng	  Note that the answer to this question doesn't directly affect the
1365e0ace2SJie Deng	  kernel: saying N will just cause the configurator to skip all
1465e0ace2SJie Deng	  the questions about Synopsys devices. If you say Y, you will be asked
1565e0ace2SJie Deng	  for your specific device in the following questions.
1665e0ace2SJie Deng
1765e0ace2SJie Dengif NET_VENDOR_SYNOPSYS
1865e0ace2SJie Deng
1965e0ace2SJie Dengconfig DWC_XLGMAC
2065e0ace2SJie Deng	tristate "Synopsys DWC Enterprise Ethernet (XLGMAC) driver support"
2165e0ace2SJie Deng	depends on HAS_IOMEM && HAS_DMA
2265e0ace2SJie Deng	select BITREVERSE
2365e0ace2SJie Deng	select CRC32
2465e0ace2SJie Deng	---help---
2565e0ace2SJie Deng	  This driver supports the Synopsys DesignWare Cores Enterprise
2665e0ace2SJie Deng	  Ethernet (dwc-xlgmac).
2765e0ace2SJie Deng
2865e0ace2SJie Dengif DWC_XLGMAC
2965e0ace2SJie Deng
3065e0ace2SJie Dengconfig DWC_XLGMAC_PCI
3165e0ace2SJie Deng	tristate "XLGMAC PCI bus support"
3265e0ace2SJie Deng	depends on DWC_XLGMAC && PCI
3365e0ace2SJie Deng	---help---
3465e0ace2SJie Deng	  This selects the pci bus support for the dwc-xlgmac driver.
3565e0ace2SJie Deng	  This driver was tested on Synopsys XLGMAC IP Prototyping Kit.
3665e0ace2SJie Deng
3765e0ace2SJie Deng	  If you have a controller with this interface, say Y or M here.
3865e0ace2SJie Deng	  If unsure, say N.
3965e0ace2SJie Deng
4065e0ace2SJie Dengendif # DWC_XLGMAC
4165e0ace2SJie Deng
4265e0ace2SJie Dengendif # NET_VENDOR_SYNOPSYS
43