blob: 74beb1867230c9cf62a60a2843825316e6d9cdbc [file] [log] [blame]
Zhangfei Gao57c5bc92014-06-03 13:49:37 +08001#
2# HISILICON device configuration
3#
4
5config NET_VENDOR_HISILICON
6 bool "Hisilicon devices"
7 default y
Geert Uytterhoeven38705022015-11-09 10:34:30 +01008 depends on OF && HAS_DMA
9 depends on ARM || ARM64 || COMPILE_TEST
Zhangfei Gao57c5bc92014-06-03 13:49:37 +080010 ---help---
Paul Gortmaker138b15e2015-06-21 16:28:02 -040011 If you have a network (Ethernet) card belonging to this class, say Y.
Zhangfei Gao57c5bc92014-06-03 13:49:37 +080012
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.
17
18if NET_VENDOR_HISILICON
19
20config HIX5HD2_GMAC
21 tristate "Hisilicon HIX5HD2 Family Network Device Support"
22 select PHYLIB
23 help
24 This selects the hix5hd2 mac family network device.
25
Zhangfei Gao4a841ee2015-01-14 14:34:13 +080026config HIP04_ETH
27 tristate "HISILICON P04 Ethernet support"
Zhangfei Gao4a841ee2015-01-14 14:34:13 +080028 select MARVELL_PHY
29 select MFD_SYSCON
huangdaode5b904d32015-09-17 14:51:47 +080030 select HNS_MDIO
Zhangfei Gao4a841ee2015-01-14 14:34:13 +080031 ---help---
32 If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
33 want to use the internal ethernet then you should answer Y to this.
34
huangdaode5b904d32015-09-17 14:51:47 +080035config HNS_MDIO
Arnd Bergmann0fa28872015-10-09 14:53:54 +020036 tristate
37 select PHYLIB
huangdaode5b904d32015-09-17 14:51:47 +080038 ---help---
39 This selects the HNS MDIO support. It is needed by HNS_DSAF to access
40 the PHY
41
huangdaode6fe66112015-09-17 14:51:48 +080042config HNS
43 tristate "Hisilicon Network Subsystem Support (Framework)"
44 ---help---
45 This selects the framework support for Hisilicon Network Subsystem. It
46 is needed by any driver which provides HNS acceleration engine or make
47 use of the engine
48
huangdaode511e6bc2015-09-17 14:51:49 +080049config HNS_DSAF
50 tristate "Hisilicon HNS DSAF device Support"
51 select HNS
52 select HNS_MDIO
53 ---help---
54 This selects the DSAF (Distributed System Area Frabric) network
55 acceleration engine support. The engine is used in Hisilicon hip05,
56 Hi1610 and further ICT SoC
57
huangdaodeb5996f12015-09-17 14:51:50 +080058config HNS_ENET
59 tristate "Hisilicon HNS Ethernet Device Support"
60 select PHYLIB
61 select HNS
62 ---help---
63 This selects the general ethernet driver for HNS. This module make
64 use of any HNS AE driver, such as HNS_DSAF
65
Zhangfei Gao57c5bc92014-06-03 13:49:37 +080066endif # NET_VENDOR_HISILICON