]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/net/ethernet/hisilicon/Kconfig
net: hns3: Resume promisc mode and vlan filter status after loopback test
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ethernet / hisilicon / Kconfig
CommitLineData
57c5bc9a
ZG
1#
2# HISILICON device configuration
3#
4
5config NET_VENDOR_HISILICON
6 bool "Hisilicon devices"
7 default y
4a63538e 8 depends on (OF || ACPI) && HAS_DMA
3870502a 9 depends on ARM || ARM64 || COMPILE_TEST
57c5bc9a 10 ---help---
138b15ed 11 If you have a network (Ethernet) card belonging to this class, say Y.
57c5bc9a
ZG
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
542ae60a
DL
26config HISI_FEMAC
27 tristate "Hisilicon Fast Ethernet MAC device support"
28 depends on HAS_IOMEM
29 select PHYLIB
30 select RESET_CONTROLLER
31 help
32 This selects the Hisilicon Fast Ethernet MAC device(FEMAC).
33 The FEMAC receives and transmits data over Ethernet
34 ports at 10/100 Mbps in full-duplex or half-duplex mode.
35 The FEMAC exchanges data with the CPU, and supports
36 the energy efficient Ethernet (EEE).
37
4a841ee9
ZG
38config HIP04_ETH
39 tristate "HISILICON P04 Ethernet support"
979d804e 40 depends on HAS_IOMEM # For MFD_SYSCON
4a841ee9
ZG
41 select MARVELL_PHY
42 select MFD_SYSCON
5b904d39 43 select HNS_MDIO
4a841ee9
ZG
44 ---help---
45 If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
46 want to use the internal ethernet then you should answer Y to this.
47
5b904d39 48config HNS_MDIO
0fa28877
AB
49 tristate
50 select PHYLIB
5b904d39 51 ---help---
52 This selects the HNS MDIO support. It is needed by HNS_DSAF to access
53 the PHY
54
6fe6611f 55config HNS
56 tristate "Hisilicon Network Subsystem Support (Framework)"
57 ---help---
58 This selects the framework support for Hisilicon Network Subsystem. It
59 is needed by any driver which provides HNS acceleration engine or make
60 use of the engine
61
511e6bc0 62config HNS_DSAF
63 tristate "Hisilicon HNS DSAF device Support"
64 select HNS
65 select HNS_MDIO
66 ---help---
67 This selects the DSAF (Distributed System Area Frabric) network
68 acceleration engine support. The engine is used in Hisilicon hip05,
69 Hi1610 and further ICT SoC
70
b5996f11 71config HNS_ENET
72 tristate "Hisilicon HNS Ethernet Device Support"
73 select PHYLIB
74 select HNS
75 ---help---
76 This selects the general ethernet driver for HNS. This module make
77 use of any HNS AE driver, such as HNS_DSAF
78
15e8e5ff
S
79config HNS3
80 tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
56cf68c7 81 depends on PCI
15e8e5ff
S
82 ---help---
83 This selects the framework support for Hisilicon Network Subsystem 3.
84 This layer facilitates clients like ENET, RoCE and user-space ethernet
85 drivers(like ODP)to register with HNAE devices and their associated
86 operations.
87
ca6f8c6d
HT
88if HNS3
89
15e8e5ff
S
90config HNS3_HCLGE
91 tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
ca6f8c6d 92 default m
56cf68c7 93 depends on PCI_MSI
15e8e5ff
S
94 ---help---
95 This selects the HNS3_HCLGE network acceleration engine & its hardware
96 compatibility layer. The engine would be used in Hisilicon hip08 family of
97 SoCs and further upcoming SoCs.
98
cacde272
YL
99config HNS3_DCB
100 bool "Hisilicon HNS3 Data Center Bridge Support"
101 default n
ca6f8c6d 102 depends on HNS3_HCLGE && DCB
cacde272
YL
103 ---help---
104 Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
105
106 If unsure, say N.
107
6b883613 108config HNS3_HCLGEVF
ca6f8c6d
HT
109 tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
110 depends on PCI_MSI
6b883613
SM
111 depends on HNS3_HCLGE
112 ---help---
113 This selects the HNS3 VF drivers network acceleration engine & its hardware
114 compatibility layer. The engine would be used in Hisilicon hip08 family of
115 SoCs and further upcoming SoCs.
116
117config HNS3_ENET
118 tristate "Hisilicon HNS3 Ethernet Device Support"
ca6f8c6d 119 default m
6b883613 120 depends on 64BIT && PCI
6b883613
SM
121 ---help---
122 This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
123 family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
124 devices and their associated operations.
125
ca6f8c6d
HT
126endif #HNS3
127
57c5bc9a 128endif # NET_VENDOR_HISILICON