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