1 # SPDX-License-Identifier: GPL-2.0-only
3 # HISILICON device configuration
6 config NET_VENDOR_HISILICON
7 bool "Hisilicon devices"
11 If you have a network (Ethernet) card belonging to this class, say Y.
13 Note that the answer to this question doesn't directly affect the
14 kernel: saying N will just cause the configurator to skip all
15 the questions about Hisilicon devices. If you say Y, you will be asked
16 for your specific card in the following questions.
18 if NET_VENDOR_HISILICON
20 if ARM || ARM64 || COMPILE_TEST
23 tristate "Hisilicon HIX5HD2 Family Network Device Support"
26 This selects the hix5hd2 mac family network device.
29 tristate "Hisilicon Fast Ethernet MAC device support"
32 select RESET_CONTROLLER
34 This selects the Hisilicon Fast Ethernet MAC device(FEMAC).
35 The FEMAC receives and transmits data over Ethernet
36 ports at 10/100 Mbps in full-duplex or half-duplex mode.
37 The FEMAC exchanges data with the CPU, and supports
38 the energy efficient Ethernet (EEE).
41 tristate "HISILICON P04 Ethernet support"
42 depends on HAS_IOMEM # For MFD_SYSCON
47 If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
48 want to use the internal ethernet then you should answer Y to this.
51 bool "Hisilicon HI13X1 Network Device Support"
54 If you wish to compile a kernel for a hardware with hisilicon hi13x1_gamc
55 then you should answer Y to this. This makes this driver suitable for use
56 on certain boards such as the HI13X1.
58 If you are unsure, say N.
64 This selects the HNS MDIO support. It is needed by HNS_DSAF to access
70 This selects the framework support for Hisilicon Network Subsystem. It
71 is needed by any driver which provides HNS acceleration engine or make
75 tristate "Hisilicon HNS DSAF device Support"
79 This selects the DSAF (Distributed System Area Frabric) network
80 acceleration engine support. The engine is used in Hisilicon hip05,
81 Hi1610 and further ICT SoC
84 tristate "Hisilicon HNS Ethernet Device Support"
88 This selects the general ethernet driver for HNS. This module make
89 use of any HNS AE driver, such as HNS_DSAF
92 tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
97 This selects the framework support for Hisilicon Network Subsystem 3.
98 This layer facilitates clients like ENET, RoCE and user-space ethernet
99 drivers(like ODP)to register with HNAE devices and their associated
105 tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
108 depends on PTP_1588_CLOCK_OPTIONAL
110 This selects the HNS3_HCLGE network acceleration engine & its hardware
111 compatibility layer. The engine would be used in Hisilicon hip08 family of
112 SoCs and further upcoming SoCs.
115 bool "Hisilicon HNS3 Data Center Bridge Support"
117 depends on HNS3_HCLGE && DCB
119 Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
124 tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
126 depends on HNS3_HCLGE
128 This selects the HNS3 VF drivers network acceleration engine & its hardware
129 compatibility layer. The engine would be used in Hisilicon hip08 family of
130 SoCs and further upcoming SoCs.
133 tristate "Hisilicon HNS3 Ethernet Device Support"
135 depends on 64BIT && PCI
139 This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
140 family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
141 devices and their associated operations.
145 endif # ARM || ARM64 || COMPILE_TEST
148 tristate "Hisilicon BMC Gigabit Ethernet Device Support"
149 depends on PCI && PCI_MSI
154 If you wish to compile a kernel for a BMC with HIBMC-xx_gmac
155 then you should answer Y to this. This makes this driver suitable for use
156 on certain boards such as the HIBMC-210.
158 If you are unsure, say N.
160 endif # NET_VENDOR_HISILICON