Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. select PHYLIB
  21. ---help---
  22. The Cadence MACB ethernet interface is found on many Atmel AT32 and
  23. AT91 parts. This driver also supports the Cadence GEM (Gigabit
  24. Ethernet MAC found in some ARM SoC devices). Say Y to include
  25. support for the MACB/GEM chip.
  26. To compile this driver as a module, choose M here: the module
  27. will be macb.
  28. config MACB_USE_HWSTAMP
  29. bool "Use IEEE 1588 hwstamp"
  30. depends on MACB
  31. default y
  32. imply PTP_1588_CLOCK
  33. ---help---
  34. Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
  35. config MACB_PCI
  36. tristate "Cadence PCI MACB/GEM support"
  37. depends on MACB && PCI
  38. ---help---
  39. This is PCI wrapper for MACB driver.
  40. To compile this driver as a module, choose M here: the module
  41. will be called macb_pci.
  42. endif # NET_VENDOR_CADENCE