157c5bc9aSZhangfei Gao#
257c5bc9aSZhangfei Gao# HISILICON device configuration
357c5bc9aSZhangfei Gao#
457c5bc9aSZhangfei Gao
557c5bc9aSZhangfei Gaoconfig NET_VENDOR_HISILICON
657c5bc9aSZhangfei Gao	bool "Hisilicon devices"
757c5bc9aSZhangfei Gao	default y
84a63538eSKejian Yan	depends on (OF || ACPI) && HAS_DMA
93870502aSGeert Uytterhoeven	depends on ARM || ARM64 || COMPILE_TEST
1057c5bc9aSZhangfei Gao	---help---
11138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
1257c5bc9aSZhangfei Gao
1357c5bc9aSZhangfei Gao	  Note that the answer to this question doesn't directly affect the
1457c5bc9aSZhangfei Gao	  kernel: saying N will just cause the configurator to skip all
1557c5bc9aSZhangfei Gao	  the questions about Hisilicon devices. If you say Y, you will be asked
1657c5bc9aSZhangfei Gao	  for your specific card in the following questions.
1757c5bc9aSZhangfei Gao
1857c5bc9aSZhangfei Gaoif NET_VENDOR_HISILICON
1957c5bc9aSZhangfei Gao
2057c5bc9aSZhangfei Gaoconfig HIX5HD2_GMAC
2157c5bc9aSZhangfei Gao	tristate "Hisilicon HIX5HD2 Family Network Device Support"
2257c5bc9aSZhangfei Gao	select PHYLIB
2357c5bc9aSZhangfei Gao	help
2457c5bc9aSZhangfei Gao	  This selects the hix5hd2 mac family network device.
2557c5bc9aSZhangfei Gao
264a841ee9SZhangfei Gaoconfig HIP04_ETH
274a841ee9SZhangfei Gao	tristate "HISILICON P04 Ethernet support"
28979d804eSKrzysztof Kozlowski	depends on HAS_IOMEM	# For MFD_SYSCON
294a841ee9SZhangfei Gao	select MARVELL_PHY
304a841ee9SZhangfei Gao	select MFD_SYSCON
315b904d39Shuangdaode	select HNS_MDIO
324a841ee9SZhangfei Gao	---help---
334a841ee9SZhangfei Gao	  If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
344a841ee9SZhangfei Gao	  want to use the internal ethernet then you should answer Y to this.
354a841ee9SZhangfei Gao
365b904d39Shuangdaodeconfig HNS_MDIO
370fa28877SArnd Bergmann	tristate
380fa28877SArnd Bergmann	select PHYLIB
395b904d39Shuangdaode	---help---
405b904d39Shuangdaode	  This selects the HNS MDIO support. It is needed by HNS_DSAF to access
415b904d39Shuangdaode	  the PHY
425b904d39Shuangdaode
436fe6611fShuangdaodeconfig HNS
446fe6611fShuangdaode	tristate "Hisilicon Network Subsystem Support (Framework)"
456fe6611fShuangdaode	---help---
466fe6611fShuangdaode	  This selects the framework support for Hisilicon Network Subsystem. It
476fe6611fShuangdaode	  is needed by any driver which provides HNS acceleration engine or make
486fe6611fShuangdaode	  use of the engine
496fe6611fShuangdaode
50511e6bc0Shuangdaodeconfig HNS_DSAF
51511e6bc0Shuangdaode	tristate "Hisilicon HNS DSAF device Support"
52511e6bc0Shuangdaode	select HNS
53511e6bc0Shuangdaode	select HNS_MDIO
54511e6bc0Shuangdaode	---help---
55511e6bc0Shuangdaode	  This selects the DSAF (Distributed System Area Frabric) network
56511e6bc0Shuangdaode	  acceleration engine support. The engine is used in Hisilicon hip05,
57511e6bc0Shuangdaode	  Hi1610 and further ICT SoC
58511e6bc0Shuangdaode
59b5996f11Shuangdaodeconfig HNS_ENET
60b5996f11Shuangdaode	tristate "Hisilicon HNS Ethernet Device Support"
61b5996f11Shuangdaode	select PHYLIB
62b5996f11Shuangdaode	select HNS
63b5996f11Shuangdaode	---help---
64b5996f11Shuangdaode	  This selects the general ethernet driver for HNS.  This module make
65b5996f11Shuangdaode	  use of any HNS AE driver, such as HNS_DSAF
66b5996f11Shuangdaode
6757c5bc9aSZhangfei Gaoendif # NET_VENDOR_HISILICON
68