Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #
  2. # HISILICON device configuration
  3. #
  4. config NET_VENDOR_HISILICON
  5. bool "Hisilicon devices"
  6. default y
  7. depends on OF || ACPI
  8. depends on ARM || ARM64 || COMPILE_TEST
  9. ---help---
  10. If you have a network (Ethernet) card belonging to this class, say Y.
  11. Note that the answer to this question doesn't directly affect the
  12. kernel: saying N will just cause the configurator to skip all
  13. the questions about Hisilicon devices. If you say Y, you will be asked
  14. for your specific card in the following questions.
  15. if NET_VENDOR_HISILICON
  16. config HIX5HD2_GMAC
  17. tristate "Hisilicon HIX5HD2 Family Network Device Support"
  18. select PHYLIB
  19. help
  20. This selects the hix5hd2 mac family network device.
  21. config HISI_FEMAC
  22. tristate "Hisilicon Fast Ethernet MAC device support"
  23. depends on HAS_IOMEM
  24. select PHYLIB
  25. select RESET_CONTROLLER
  26. help
  27. This selects the Hisilicon Fast Ethernet MAC device(FEMAC).
  28. The FEMAC receives and transmits data over Ethernet
  29. ports at 10/100 Mbps in full-duplex or half-duplex mode.
  30. The FEMAC exchanges data with the CPU, and supports
  31. the energy efficient Ethernet (EEE).
  32. config HIP04_ETH
  33. tristate "HISILICON P04 Ethernet support"
  34. depends on HAS_IOMEM # For MFD_SYSCON
  35. select MARVELL_PHY
  36. select MFD_SYSCON
  37. select HNS_MDIO
  38. ---help---
  39. If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
  40. want to use the internal ethernet then you should answer Y to this.
  41. config HNS_MDIO
  42. tristate
  43. select PHYLIB
  44. ---help---
  45. This selects the HNS MDIO support. It is needed by HNS_DSAF to access
  46. the PHY
  47. config HNS
  48. tristate "Hisilicon Network Subsystem Support (Framework)"
  49. ---help---
  50. This selects the framework support for Hisilicon Network Subsystem. It
  51. is needed by any driver which provides HNS acceleration engine or make
  52. use of the engine
  53. config HNS_DSAF
  54. tristate "Hisilicon HNS DSAF device Support"
  55. select HNS
  56. select HNS_MDIO
  57. ---help---
  58. This selects the DSAF (Distributed System Area Frabric) network
  59. acceleration engine support. The engine is used in Hisilicon hip05,
  60. Hi1610 and further ICT SoC
  61. config HNS_ENET
  62. tristate "Hisilicon HNS Ethernet Device Support"
  63. select PHYLIB
  64. select HNS
  65. ---help---
  66. This selects the general ethernet driver for HNS. This module make
  67. use of any HNS AE driver, such as HNS_DSAF
  68. config HNS3
  69. tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
  70. depends on PCI
  71. ---help---
  72. This selects the framework support for Hisilicon Network Subsystem 3.
  73. This layer facilitates clients like ENET, RoCE and user-space ethernet
  74. drivers(like ODP)to register with HNAE devices and their associated
  75. operations.
  76. if HNS3
  77. config HNS3_HCLGE
  78. tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
  79. default m
  80. depends on PCI_MSI
  81. ---help---
  82. This selects the HNS3_HCLGE network acceleration engine & its hardware
  83. compatibility layer. The engine would be used in Hisilicon hip08 family of
  84. SoCs and further upcoming SoCs.
  85. config HNS3_DCB
  86. bool "Hisilicon HNS3 Data Center Bridge Support"
  87. default n
  88. depends on HNS3_HCLGE && DCB
  89. ---help---
  90. Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
  91. If unsure, say N.
  92. config HNS3_HCLGEVF
  93. tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
  94. depends on PCI_MSI
  95. depends on HNS3_HCLGE
  96. ---help---
  97. This selects the HNS3 VF drivers network acceleration engine & its hardware
  98. compatibility layer. The engine would be used in Hisilicon hip08 family of
  99. SoCs and further upcoming SoCs.
  100. config HNS3_ENET
  101. tristate "Hisilicon HNS3 Ethernet Device Support"
  102. default m
  103. depends on 64BIT && PCI
  104. ---help---
  105. This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
  106. family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
  107. devices and their associated operations.
  108. endif #HNS3
  109. endif # NET_VENDOR_HISILICON