xref: /linux/drivers/net/ethernet/cadence/Kconfig (revision b6d49cab44b567b3e0a5544b3d61e516a7355fad)
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
109f2f381fSJeff Kirsher	---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
269f2f381fSJeff Kirsher	---help---
27f75ba50bSJamie Iles	  The Cadence MACB ethernet interface is found on many Atmel AT32 and
28f75ba50bSJamie Iles	  AT91 parts.  This driver also supports the Cadence GEM (Gigabit
290f6538c2SJames Byrne	  Ethernet MAC found in some ARM SoC devices).  Say Y to include
300f6538c2SJames Byrne	  support for the MACB/GEM chip.
319f2f381fSJeff Kirsher
329f2f381fSJeff Kirsher	  To compile this driver as a module, choose M here: the module
337b429614SRafal Ozieblo	  will be macb.
347b429614SRafal Ozieblo
357b429614SRafal Oziebloconfig MACB_USE_HWSTAMP
367b429614SRafal Ozieblo	bool "Use IEEE 1588 hwstamp"
377b429614SRafal Ozieblo	depends on MACB
38*b6d49cabSClay McClure	depends on PTP_1588_CLOCK
397b429614SRafal Ozieblo	default y
407b429614SRafal Ozieblo	---help---
417b429614SRafal Ozieblo	  Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
429f2f381fSJeff Kirsher
4383a77e9eSBartosz Foltaconfig MACB_PCI
4483a77e9eSBartosz Folta	tristate "Cadence PCI MACB/GEM support"
45c536a9aaSPalmer Dabbelt	depends on MACB && PCI
4683a77e9eSBartosz Folta	---help---
4783a77e9eSBartosz Folta	  This is PCI wrapper for MACB driver.
4883a77e9eSBartosz Folta
4983a77e9eSBartosz Folta	  To compile this driver as a module, choose M here: the module
5083a77e9eSBartosz Folta	  will be called macb_pci.
5183a77e9eSBartosz Folta
520df5f81cSGeert Uytterhoevenendif # NET_VENDOR_CADENCE
53