hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/ethernet/broadcom/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Broadcom device configuration
34 #
....@@ -7,14 +8,14 @@
78 default y
89 depends on (SSB_POSSIBLE && HAS_DMA) || PCI || BCM63XX || \
910 SIBYTE_SB1xxx_SOC
10
- ---help---
11
+ help
1112 If you have a network (Ethernet) chipset belonging to this class,
1213 say Y.
1314
1415 Note that the answer to this question does not directly affect
15
- the kernel: saying N will just case the configurator to skip all
16
- the questions regarding AMD chipsets. If you say Y, you will be asked
17
- for your specific chipset/driver in the following questions.
16
+ the kernel: saying N will just cause the configurator to skip all
17
+ the questions regarding Broadcom chipsets. If you say Y, you will
18
+ be asked for your specific chipset/driver in the following questions.
1819
1920 if NET_VENDOR_BROADCOM
2021
....@@ -24,7 +25,7 @@
2425 select SSB
2526 select MII
2627 select PHYLIB
27
- ---help---
28
+ help
2829 If you have a network (Ethernet) controller of this type, say Y
2930 or M here.
3031
....@@ -67,6 +68,8 @@
6768 select FIXED_PHY
6869 select BCM7XXX_PHY
6970 select MDIO_BCM_UNIMAC
71
+ select DIMLIB
72
+ select BROADCOM_PHY if ARCH_BCM2835
7073 help
7174 This driver supports the built-in Ethernet MACs found in the
7275 Broadcom BCM7xxx Set Top Box family chipset.
....@@ -76,7 +79,7 @@
7679 depends on PCI
7780 select CRC32
7881 select FW_LOADER
79
- ---help---
82
+ help
8083 This driver supports QLogic bnx2 gigabit Ethernet cards.
8184
8285 To compile this driver as a module, choose M here: the module
....@@ -85,9 +88,10 @@
8588 config CNIC
8689 tristate "QLogic CNIC support"
8790 depends on PCI && (IPV6 || IPV6=n)
91
+ depends on MMU
8892 select BNX2
8993 select UIO
90
- ---help---
94
+ help
9195 This driver supports offload features of QLogic bnx2 gigabit
9296 Ethernet cards.
9397
....@@ -98,7 +102,7 @@
98102 tristate "SB1250 Gigabit Ethernet support"
99103 depends on SIBYTE_SB1xxx_SOC
100104 select PHYLIB
101
- ---help---
105
+ help
102106 This driver supports Gigabit Ethernet interfaces based on the
103107 Broadcom SiByte family of System-On-a-Chip parts. They include
104108 the BCM1120, BCM1125, BCM1125H, BCM1250, BCM1255, BCM1280, BCM1455
....@@ -112,7 +116,7 @@
112116 depends on PCI
113117 select PHYLIB
114118 imply PTP_1588_CLOCK
115
- ---help---
119
+ help
116120 This driver supports Broadcom Tigon3 based gigabit Ethernet cards.
117121
118122 To compile this driver as a module, choose M here: the module
....@@ -122,7 +126,7 @@
122126 bool "Broadcom Tigon3 HWMON support"
123127 default y
124128 depends on TIGON3 && HWMON && !(TIGON3=y && HWMON=m)
125
- ---help---
129
+ help
126130 Say Y if you want to expose the thermal sensor on Tigon3 devices.
127131
128132 config BNX2X
....@@ -133,7 +137,7 @@
133137 select ZLIB_INFLATE
134138 select LIBCRC32C
135139 select MDIO
136
- ---help---
140
+ help
137141 This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards.
138142 To compile this driver as a module, choose M here: the module
139143 will be called bnx2x. This is recommended.
....@@ -142,7 +146,7 @@
142146 bool "Broadcom 578xx and 57712 SR-IOV support"
143147 depends on BNX2X && PCI_IOV
144148 default y
145
- ---help---
149
+ help
146150 This configuration parameter enables Single Root Input Output
147151 Virtualization support in the 578xx and 57712 products. This
148152 allows for virtual function acceleration in virtual environments.
....@@ -161,7 +165,7 @@
161165 select BGMAC
162166 select PHYLIB
163167 select FIXED_PHY
164
- ---help---
168
+ help
165169 This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus.
166170 They can be found on BCM47xx SoCs and provide gigabit ethernet.
167171 In case of using this driver on BCM4706 it's also requires to enable
....@@ -175,7 +179,7 @@
175179 select PHYLIB
176180 select FIXED_PHY
177181 default ARCH_BCM_IPROC
178
- ---help---
182
+ help
179183 Say Y here if you want to use the Broadcom iProc Gigabit Ethernet
180184 controller through the generic platform interface
181185
....@@ -186,6 +190,7 @@
186190 select MII
187191 select PHYLIB
188192 select FIXED_PHY
193
+ select DIMLIB
189194 help
190195 This driver supports the built-in Ethernet MACs found in the
191196 Broadcom BCM7xxx Set Top Box family chipset using an internal
....@@ -194,10 +199,12 @@
194199 config BNXT
195200 tristate "Broadcom NetXtreme-C/E support"
196201 depends on PCI
197
- depends on MAY_USE_DEVLINK
198202 select FW_LOADER
199203 select LIBCRC32C
200
- ---help---
204
+ select NET_DEVLINK
205
+ select PAGE_POOL
206
+ select DIMLIB
207
+ help
201208 This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
202209 Ethernet cards. To compile this driver as a module, choose M here:
203210 the module will be called bnxt_en. This is recommended.
....@@ -206,7 +213,7 @@
206213 bool "Broadcom NetXtreme-C/E SR-IOV support"
207214 depends on BNXT && PCI_IOV
208215 default y
209
- ---help---
216
+ help
210217 This configuration parameter enables Single Root Input Output
211218 Virtualization support in the NetXtreme-C/E products. This
212219 allows for virtual function acceleration in virtual environments.
....@@ -215,7 +222,7 @@
215222 bool "TC Flower offload support for NetXtreme-C/E"
216223 depends on BNXT
217224 default y
218
- ---help---
225
+ help
219226 This configuration parameter enables TC Flower packet classifier
220227 offload for eswitch. This option enables SR-IOV switchdev eswitch
221228 offload.
....@@ -224,7 +231,7 @@
224231 bool "Data Center Bridging (DCB) Support"
225232 default n
226233 depends on BNXT && DCB
227
- ---help---
234
+ help
228235 Say Y here if you want to use Data Center Bridging (DCB) in the
229236 driver.
230237
....@@ -234,7 +241,7 @@
234241 bool "Broadcom NetXtreme-C/E HWMON support"
235242 default y
236243 depends on BNXT && HWMON && !(BNXT=y && HWMON=m)
237
- ---help---
244
+ help
238245 Say Y if you want to expose the thermal sensor data on NetXtreme-C/E
239246 devices, via the hwmon sysfs interface.
240247