Merge tag 'media/v6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6-block.git] / drivers / net / ethernet / cadence / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
9f2f381f 2#
302a7cad 3# Cadence device configuration
9f2f381f
JK
4#
5
0df5f81c 6config NET_VENDOR_CADENCE
f75ba50b 7 bool "Cadence devices"
28811a8c 8 depends on HAS_IOMEM
eccab1ec 9 default y
a7f7f624 10 help
9f2f381f 11 If you have a network (Ethernet) card belonging to this class, say Y.
9f2f381f
JK
12
13 If unsure, say Y.
14
15 Note that the answer to this question doesn't directly affect the
302a7cad
PD
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
9f2f381f
JK
18 asked for your specific card in the following questions.
19
0df5f81c 20if NET_VENDOR_CADENCE
9f2f381f 21
9f2f381f 22config MACB
f75ba50b 23 tristate "Cadence MACB/GEM support"
c536a9aa 24 depends on HAS_DMA && COMMON_CLK
e5f31552 25 depends on PTP_1588_CLOCK_OPTIONAL
7897b071 26 select PHYLINK
0b32e91f 27 select CRC32
a7f7f624 28 help
f75ba50b
JI
29 The Cadence MACB ethernet interface is found on many Atmel AT32 and
30 AT91 parts. This driver also supports the Cadence GEM (Gigabit
0f6538c2
JB
31 Ethernet MAC found in some ARM SoC devices). Say Y to include
32 support for the MACB/GEM chip.
9f2f381f
JK
33
34 To compile this driver as a module, choose M here: the module
7b429614
RO
35 will be macb.
36
37config MACB_USE_HWSTAMP
38 bool "Use IEEE 1588 hwstamp"
39 depends on MACB
b6d49cab 40 depends on PTP_1588_CLOCK
7b429614 41 default y
a7f7f624 42 help
7b429614 43 Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
9f2f381f 44
83a77e9e
BF
45config MACB_PCI
46 tristate "Cadence PCI MACB/GEM support"
c536a9aa 47 depends on MACB && PCI
a7f7f624 48 help
83a77e9e
BF
49 This is PCI wrapper for MACB driver.
50
51 To compile this driver as a module, choose M here: the module
52 will be called macb_pci.
53
0df5f81c 54endif # NET_VENDOR_CADENCE