xref: /linux/drivers/net/ethernet/cadence/Kconfig (revision 0b32e91fdfd87314af9943e69eb85a88adb4233c)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
29f2f381fSJeff Kirsher#
3302a7cadSPalmer Dabbelt# Cadence device configuration
49f2f381fSJeff Kirsher#
59f2f381fSJeff Kirsher
60df5f81cSGeert Uytterhoevenconfig NET_VENDOR_CADENCE
7f75ba50bSJamie Iles	bool "Cadence devices"
828811a8cSMichal Simek	depends on HAS_IOMEM
9eccab1ecSJean-Christophe PLAGNIOL-VILLARD	default y
10a7f7f624SMasahiro Yamada	help
119f2f381fSJeff Kirsher	  If you have a network (Ethernet) card belonging to this class, say Y.
129f2f381fSJeff Kirsher
139f2f381fSJeff Kirsher	  If unsure, say Y.
149f2f381fSJeff Kirsher
159f2f381fSJeff Kirsher	  Note that the answer to this question doesn't directly affect the
16302a7cadSPalmer Dabbelt	  kernel: saying N will just cause the configurator to skip all the
17302a7cadSPalmer Dabbelt	  remaining Cadence network card questions. If you say Y, you will be
189f2f381fSJeff Kirsher	  asked for your specific card in the following questions.
199f2f381fSJeff Kirsher
200df5f81cSGeert Uytterhoevenif NET_VENDOR_CADENCE
219f2f381fSJeff Kirsher
229f2f381fSJeff Kirsherconfig MACB
23f75ba50bSJamie Iles	tristate "Cadence MACB/GEM support"
24c536a9aaSPalmer Dabbelt	depends on HAS_DMA && COMMON_CLK
257897b071SAntoine Tenart	select PHYLINK
26*0b32e91fSArnd Bergmann	select CRC32
27a7f7f624SMasahiro Yamada	help
28f75ba50bSJamie Iles	  The Cadence MACB ethernet interface is found on many Atmel AT32 and
29f75ba50bSJamie Iles	  AT91 parts.  This driver also supports the Cadence GEM (Gigabit
300f6538c2SJames Byrne	  Ethernet MAC found in some ARM SoC devices).  Say Y to include
310f6538c2SJames Byrne	  support for the MACB/GEM chip.
329f2f381fSJeff Kirsher
339f2f381fSJeff Kirsher	  To compile this driver as a module, choose M here: the module
347b429614SRafal Ozieblo	  will be macb.
357b429614SRafal Ozieblo
367b429614SRafal Oziebloconfig MACB_USE_HWSTAMP
377b429614SRafal Ozieblo	bool "Use IEEE 1588 hwstamp"
387b429614SRafal Ozieblo	depends on MACB
39b6d49cabSClay McClure	depends on PTP_1588_CLOCK
407b429614SRafal Ozieblo	default y
41a7f7f624SMasahiro Yamada	help
427b429614SRafal Ozieblo	  Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
439f2f381fSJeff Kirsher
4483a77e9eSBartosz Foltaconfig MACB_PCI
4583a77e9eSBartosz Folta	tristate "Cadence PCI MACB/GEM support"
46c536a9aaSPalmer Dabbelt	depends on MACB && PCI
47a7f7f624SMasahiro Yamada	help
4883a77e9eSBartosz Folta	  This is PCI wrapper for MACB driver.
4983a77e9eSBartosz Folta
5083a77e9eSBartosz Folta	  To compile this driver as a module, choose M here: the module
5183a77e9eSBartosz Folta	  will be called macb_pci.
5283a77e9eSBartosz Folta
530df5f81cSGeert Uytterhoevenendif # NET_VENDOR_CADENCE
54