Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # ARC EMAC network device configuration
  4. #
  5. config NET_VENDOR_ARC
  6. bool "ARC devices"
  7. default y
  8. help
  9. If you have a network (Ethernet) card belonging to this class, say Y.
  10. Note that the answer to this question doesn't directly affect the
  11. kernel: saying N will just cause the configurator to skip all
  12. the questions about ARC cards. If you say Y, you will be asked for
  13. your specific card in the following questions.
  14. if NET_VENDOR_ARC
  15. config ARC_EMAC_CORE
  16. tristate
  17. depends on ARC || ARCH_ROCKCHIP || COMPILE_TEST
  18. select MII
  19. select PHYLIB
  20. select CRC32
  21. config ARC_EMAC
  22. tristate "ARC EMAC support"
  23. select ARC_EMAC_CORE
  24. depends on OF_IRQ
  25. depends on ARC || COMPILE_TEST
  26. help
  27. On some legacy ARC (Synopsys) FPGA boards such as ARCAngel4/ML50x
  28. non-standard on-chip ethernet device ARC EMAC 10/100 is used.
  29. Say Y here if you have such a board. If unsure, say N.
  30. config EMAC_ROCKCHIP
  31. tristate "Rockchip EMAC support"
  32. select ARC_EMAC_CORE
  33. depends on OF_IRQ && REGULATOR
  34. depends on ARCH_ROCKCHIP || COMPILE_TEST
  35. help
  36. Support for Rockchip RK3036/RK3066/RK3188 EMAC ethernet controllers.
  37. This selects Rockchip SoC glue layer support for the
  38. emac device driver. This driver is used for RK3036/RK3066/RK3188
  39. EMAC ethernet controller.
  40. endif # NET_VENDOR_ARC