Kconfig 4.2 KB

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