Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# Cadence device configuration
#

config CONFIG_NET_VENDOR_CADENCE
	bool "Cadence devices"
	depends on CONFIG_HAS_IOMEM
	default y
	---help---
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  If unsure, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all the
	  remaining Cadence network card questions. If you say Y, you will be
	  asked for your specific card in the following questions.

if CONFIG_NET_VENDOR_CADENCE

config CONFIG_MACB
	tristate "Cadence MACB/GEM support"
	depends on CONFIG_HAS_DMA && CONFIG_COMMON_CLK
	select CONFIG_PHYLIB
	---help---
	  The Cadence CONFIG_MACB ethernet interface is found on many Atmel AT32 and
	  AT91 parts.  This driver also supports the Cadence GEM (Gigabit
	  Ethernet CONFIG_MAC found in some CONFIG_ARM SoC devices).  Say Y to include
	  support for the CONFIG_MACB/GEM chip.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be macb.

config CONFIG_MACB_USE_HWSTAMP
	bool "Use IEEE 1588 hwstamp"
	depends on CONFIG_MACB
	default y
	imply CONFIG_PTP_1588_CLOCK
	---help---
	  Enable IEEE 1588 Precision Time Protocol (PTP) support for CONFIG_MACB.

config CONFIG_MACB_PCI
	tristate "Cadence PCI MACB/GEM support"
	depends on CONFIG_MACB && CONFIG_PCI
	---help---
	  This is CONFIG_PCI wrapper for CONFIG_MACB driver.

	  To compile this driver as a module, choose CONFIG_M here: the module
	  will be called macb_pci.

endif # CONFIG_NET_VENDOR_CADENCE