]> git.ipfire.org Git - thirdparty/linux.git/blame - drivers/net/ethernet/cadence/Kconfig
Merge tag 'io_uring-5.7-2020-05-22' of git://git.kernel.dk/linux-block
[thirdparty/linux.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
9f2f381f
JK
10 ---help---
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
7897b071 25 select PHYLINK
9f2f381f 26 ---help---
f75ba50b
JI
27 The Cadence MACB ethernet interface is found on many Atmel AT32 and
28 AT91 parts. This driver also supports the Cadence GEM (Gigabit
0f6538c2
JB
29 Ethernet MAC found in some ARM SoC devices). Say Y to include
30 support for the MACB/GEM chip.
9f2f381f
JK
31
32 To compile this driver as a module, choose M here: the module
7b429614
RO
33 will be macb.
34
35config MACB_USE_HWSTAMP
36 bool "Use IEEE 1588 hwstamp"
37 depends on MACB
b6d49cab 38 depends on PTP_1588_CLOCK
7b429614 39 default y
7b429614
RO
40 ---help---
41 Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
9f2f381f 42
83a77e9e
BF
43config MACB_PCI
44 tristate "Cadence PCI MACB/GEM support"
c536a9aa 45 depends on MACB && PCI
83a77e9e
BF
46 ---help---
47 This is PCI wrapper for MACB driver.
48
49 To compile this driver as a module, choose M here: the module
50 will be called macb_pci.
51
0df5f81c 52endif # NET_VENDOR_CADENCE