1#
2# HISILICON device configuration
3#
4
5config NET_VENDOR_HISILICON
6	bool "Hisilicon devices"
7	default y
8	depends on ARM || ARM64
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 PHYLIB
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 "Hisilicon HNS MDIO device Support"
37	select MDIO
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