Kconfig 1.4 KB

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