xref: /linux/drivers/net/ethernet/cadence/Kconfig (revision c536a9aa7c14d22a9ee9acb6311a32c9c477665f)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
29f2f381fSJeff Kirsher#
39f2f381fSJeff Kirsher# Atmel 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
169f2f381fSJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
179f2f381fSJeff Kirsher	  the remaining Atmel 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"
24*c536a9aaSPalmer Dabbelt	depends on HAS_DMA && COMMON_CLK
259f2f381fSJeff Kirsher	select PHYLIB
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
387b429614SRafal Ozieblo	default y
397b429614SRafal Ozieblo	imply PTP_1588_CLOCK
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"
45*c536a9aaSPalmer 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