0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Cadence device configuration
0004 #
0005
0006 config NET_VENDOR_CADENCE
0007 bool "Cadence devices"
0008 depends on HAS_IOMEM
0009 default y
0010 help
0011 If you have a network (Ethernet) card belonging to this class, say Y.
0012
0013 If unsure, say Y.
0014
0015 Note that the answer to this question doesn't directly affect the
0016 kernel: saying N will just cause the configurator to skip all the
0017 remaining Cadence network card questions. If you say Y, you will be
0018 asked for your specific card in the following questions.
0019
0020 if NET_VENDOR_CADENCE
0021
0022 config MACB
0023 tristate "Cadence MACB/GEM support"
0024 depends on HAS_DMA && COMMON_CLK
0025 depends on PTP_1588_CLOCK_OPTIONAL
0026 select PHYLINK
0027 select CRC32
0028 help
0029 The Cadence MACB ethernet interface is found on many Atmel AT32 and
0030 AT91 parts. This driver also supports the Cadence GEM (Gigabit
0031 Ethernet MAC found in some ARM SoC devices). Say Y to include
0032 support for the MACB/GEM chip.
0033
0034 To compile this driver as a module, choose M here: the module
0035 will be macb.
0036
0037 config MACB_USE_HWSTAMP
0038 bool "Use IEEE 1588 hwstamp"
0039 depends on MACB
0040 depends on PTP_1588_CLOCK
0041 default y
0042 help
0043 Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
0044
0045 config MACB_PCI
0046 tristate "Cadence PCI MACB/GEM support"
0047 depends on MACB && PCI
0048 help
0049 This is PCI wrapper for MACB driver.
0050
0051 To compile this driver as a module, choose M here: the module
0052 will be called macb_pci.
0053
0054 endif # NET_VENDOR_CADENCE