1#
2# HISILICON device configuration
3#
4
5config NET_VENDOR_HISILICON
6	bool "Hisilicon devices"
7	default y
8	depends on OF && HAS_DMA
9	depends on ARM || ARM64 || COMPILE_TEST
10	---help---
11	  If you have a network (Ethernet) card belonging to this class, say Y.
12
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
26config HIP04_ETH
27	tristate "HISILICON P04 Ethernet support"
28	select MARVELL_PHY
29	select MFD_SYSCON
30	select HNS_MDIO
31	---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
35config HNS_MDIO
36	tristate
37	select PHYLIB
38	---help---
39	  This selects the HNS MDIO support. It is needed by HNS_DSAF to access
40	  the PHY
41
42config 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
49config 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
58config 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
66endif # NET_VENDOR_HISILICON
67