Commit | Line | Data |
---|---|---|
57c5bc9a ZG |
1 | # |
2 | # HISILICON device configuration | |
3 | # | |
4 | ||
5 | config NET_VENDOR_HISILICON | |
6 | bool "Hisilicon devices" | |
7 | default y | |
876133d3 | 8 | depends on OF && (ARM || ARM64 || COMPILE_TEST) |
57c5bc9a | 9 | ---help--- |
138b15ed | 10 | If you have a network (Ethernet) card belonging to this class, say Y. |
57c5bc9a ZG |
11 | |
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 | ||
17 | if NET_VENDOR_HISILICON | |
18 | ||
19 | config HIX5HD2_GMAC | |
20 | tristate "Hisilicon HIX5HD2 Family Network Device Support" | |
21 | select PHYLIB | |
22 | help | |
23 | This selects the hix5hd2 mac family network device. | |
24 | ||
4a841ee9 ZG |
25 | config HIP04_ETH |
26 | tristate "HISILICON P04 Ethernet support" | |
4a841ee9 ZG |
27 | select MARVELL_PHY |
28 | select MFD_SYSCON | |
5b904d39 | 29 | select HNS_MDIO |
4a841ee9 ZG |
30 | ---help--- |
31 | If you wish to compile a kernel for a hardware with hisilicon p04 SoC and | |
32 | want to use the internal ethernet then you should answer Y to this. | |
33 | ||
5b904d39 | 34 | config HNS_MDIO |
0fa28877 AB |
35 | tristate |
36 | select PHYLIB | |
5b904d39 | 37 | ---help--- |
38 | This selects the HNS MDIO support. It is needed by HNS_DSAF to access | |
39 | the PHY | |
40 | ||
6fe6611f | 41 | config HNS |
42 | tristate "Hisilicon Network Subsystem Support (Framework)" | |
43 | ---help--- | |
44 | This selects the framework support for Hisilicon Network Subsystem. It | |
45 | is needed by any driver which provides HNS acceleration engine or make | |
46 | use of the engine | |
47 | ||
511e6bc0 | 48 | config HNS_DSAF |
49 | tristate "Hisilicon HNS DSAF device Support" | |
50 | select HNS | |
51 | select HNS_MDIO | |
52 | ---help--- | |
53 | This selects the DSAF (Distributed System Area Frabric) network | |
54 | acceleration engine support. The engine is used in Hisilicon hip05, | |
55 | Hi1610 and further ICT SoC | |
56 | ||
b5996f11 | 57 | config HNS_ENET |
58 | tristate "Hisilicon HNS Ethernet Device Support" | |
59 | select PHYLIB | |
60 | select HNS | |
61 | ---help--- | |
62 | This selects the general ethernet driver for HNS. This module make | |
63 | use of any HNS AE driver, such as HNS_DSAF | |
64 | ||
57c5bc9a | 65 | endif # NET_VENDOR_HISILICON |