forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/hisilicon/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # HISILICON device configuration
34 #
....@@ -7,7 +8,7 @@
78 default y
89 depends on OF || ACPI
910 depends on ARM || ARM64 || COMPILE_TEST
10
- ---help---
11
+ help
1112 If you have a network (Ethernet) card belonging to this class, say Y.
1213
1314 Note that the answer to this question doesn't directly affect the
....@@ -41,20 +42,30 @@
4142 select MARVELL_PHY
4243 select MFD_SYSCON
4344 select HNS_MDIO
44
- ---help---
45
+ help
4546 If you wish to compile a kernel for a hardware with hisilicon p04 SoC and
4647 want to use the internal ethernet then you should answer Y to this.
48
+
49
+config HI13X1_GMAC
50
+ bool "Hisilicon HI13X1 Network Device Support"
51
+ depends on HIP04_ETH
52
+ help
53
+ If you wish to compile a kernel for a hardware with hisilicon hi13x1_gamc
54
+ then you should answer Y to this. This makes this driver suitable for use
55
+ on certain boards such as the HI13X1.
56
+
57
+ If you are unsure, say N.
4758
4859 config HNS_MDIO
4960 tristate
5061 select PHYLIB
51
- ---help---
62
+ help
5263 This selects the HNS MDIO support. It is needed by HNS_DSAF to access
5364 the PHY
5465
5566 config HNS
56
- tristate "Hisilicon Network Subsystem Support (Framework)"
57
- ---help---
67
+ tristate
68
+ help
5869 This selects the framework support for Hisilicon Network Subsystem. It
5970 is needed by any driver which provides HNS acceleration engine or make
6071 use of the engine
....@@ -63,7 +74,7 @@
6374 tristate "Hisilicon HNS DSAF device Support"
6475 select HNS
6576 select HNS_MDIO
66
- ---help---
77
+ help
6778 This selects the DSAF (Distributed System Area Frabric) network
6879 acceleration engine support. The engine is used in Hisilicon hip05,
6980 Hi1610 and further ICT SoC
....@@ -72,14 +83,14 @@
7283 tristate "Hisilicon HNS Ethernet Device Support"
7384 select PHYLIB
7485 select HNS
75
- ---help---
86
+ help
7687 This selects the general ethernet driver for HNS. This module make
7788 use of any HNS AE driver, such as HNS_DSAF
7889
7990 config HNS3
8091 tristate "Hisilicon Network Subsystem Support HNS3 (Framework)"
8192 depends on PCI
82
- ---help---
93
+ help
8394 This selects the framework support for Hisilicon Network Subsystem 3.
8495 This layer facilitates clients like ENET, RoCE and user-space ethernet
8596 drivers(like ODP)to register with HNAE devices and their associated
....@@ -91,7 +102,7 @@
91102 tristate "Hisilicon HNS3 HCLGE Acceleration Engine & Compatibility Layer Support"
92103 default m
93104 depends on PCI_MSI
94
- ---help---
105
+ help
95106 This selects the HNS3_HCLGE network acceleration engine & its hardware
96107 compatibility layer. The engine would be used in Hisilicon hip08 family of
97108 SoCs and further upcoming SoCs.
....@@ -100,7 +111,7 @@
100111 bool "Hisilicon HNS3 Data Center Bridge Support"
101112 default n
102113 depends on HNS3_HCLGE && DCB
103
- ---help---
114
+ help
104115 Say Y here if you want to use Data Center Bridging (DCB) in the HNS3 driver.
105116
106117 If unsure, say N.
....@@ -109,7 +120,7 @@
109120 tristate "Hisilicon HNS3VF Acceleration Engine & Compatibility Layer Support"
110121 depends on PCI_MSI
111122 depends on HNS3_HCLGE
112
- ---help---
123
+ help
113124 This selects the HNS3 VF drivers network acceleration engine & its hardware
114125 compatibility layer. The engine would be used in Hisilicon hip08 family of
115126 SoCs and further upcoming SoCs.
....@@ -118,7 +129,8 @@
118129 tristate "Hisilicon HNS3 Ethernet Device Support"
119130 default m
120131 depends on 64BIT && PCI
121
- ---help---
132
+ depends on INET
133
+ help
122134 This selects the Ethernet Driver for Hisilicon Network Subsystem 3 for hip08
123135 family of SoCs. This module depends upon HNAE3 driver to access the HNAE3
124136 devices and their associated operations.