Kconfig 1.9 KB
Newer Older
1 2 3 4 5 6 7
#
# HISILICON device configuration
#

config NET_VENDOR_HISILICON
	bool "Hisilicon devices"
	default y
8 9
	depends on OF && HAS_DMA
	depends on ARM || ARM64 || COMPILE_TEST
10
	---help---
11
	  If you have a network (Ethernet) card belonging to this class, say Y.
12 13 14 15 16 17 18 19 20 21 22 23 24 25

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about Hisilicon devices. If you say Y, you will be asked
	  for your specific card in the following questions.

if NET_VENDOR_HISILICON

config HIX5HD2_GMAC
	tristate "Hisilicon HIX5HD2 Family Network Device Support"
	select PHYLIB
	help
	  This selects the hix5hd2 mac family network device.

26 27
config HIP04_ETH
	tristate "HISILICON P04 Ethernet support"
28
	depends on HAS_IOMEM	# For MFD_SYSCON
29 30
	select MARVELL_PHY
	select MFD_SYSCON
31
	select HNS_MDIO
32 33 34 35
	---help---
	  If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
	  want to use the internal ethernet then you should answer Y to this.

36
config HNS_MDIO
A
Arnd Bergmann 已提交
37 38
	tristate
	select PHYLIB
39 40 41 42
	---help---
	  This selects the HNS MDIO support. It is needed by HNS_DSAF to access
	  the PHY

43 44 45 46 47 48 49
config HNS
	tristate "Hisilicon Network Subsystem Support (Framework)"
	---help---
	  This selects the framework support for Hisilicon Network Subsystem. It
	  is needed by any driver which provides HNS acceleration engine or make
	  use of the engine

50 51 52 53 54 55 56 57 58
config HNS_DSAF
	tristate "Hisilicon HNS DSAF device Support"
	select HNS
	select HNS_MDIO
	---help---
	  This selects the DSAF (Distributed System Area Frabric) network
	  acceleration engine support. The engine is used in Hisilicon hip05,
	  Hi1610 and further ICT SoC

59 60 61 62 63 64 65 66
config HNS_ENET
	tristate "Hisilicon HNS Ethernet Device Support"
	select PHYLIB
	select HNS
	---help---
	  This selects the general ethernet driver for HNS.  This module make
	  use of any HNS AE driver, such as HNS_DSAF

67
endif # NET_VENDOR_HISILICON