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