1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Cadence device configuration
4#
5
6config NET_VENDOR_CADENCE
7	bool "Cadence devices"
8	depends on HAS_IOMEM
9	default y
10	help
11	  If you have a network (Ethernet) card belonging to this class, say Y.
12
13	  If unsure, say Y.
14
15	  Note that the answer to this question doesn't directly affect the
16	  kernel: saying N will just cause the configurator to skip all the
17	  remaining Cadence network card questions. If you say Y, you will be
18	  asked for your specific card in the following questions.
19
20if NET_VENDOR_CADENCE
21
22config MACB
23	tristate "Cadence MACB/GEM support"
24	depends on HAS_DMA && COMMON_CLK
25	select PHYLINK
26	select CRC32
27	help
28	  The Cadence MACB ethernet interface is found on many Atmel AT32 and
29	  AT91 parts.  This driver also supports the Cadence GEM (Gigabit
30	  Ethernet MAC found in some ARM SoC devices).  Say Y to include
31	  support for the MACB/GEM chip.
32
33	  To compile this driver as a module, choose M here: the module
34	  will be macb.
35
36config MACB_USE_HWSTAMP
37	bool "Use IEEE 1588 hwstamp"
38	depends on MACB
39	depends on PTP_1588_CLOCK
40	default y
41	help
42	  Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
43
44config MACB_PCI
45	tristate "Cadence PCI MACB/GEM support"
46	depends on MACB && PCI
47	help
48	  This is PCI wrapper for MACB driver.
49
50	  To compile this driver as a module, choose M here: the module
51	  will be called macb_pci.
52
53endif # NET_VENDOR_CADENCE
54