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