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