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