GNU Linux-libre 4.19.286-gnu1
[releases.git] / drivers / net / ethernet / broadcom / Kconfig
1 #
2 # Broadcom device configuration
3 #
4
5 config NET_VENDOR_BROADCOM
6         bool "Broadcom devices"
7         default y
8         depends on (SSB_POSSIBLE && HAS_DMA) || PCI || BCM63XX || \
9                    SIBYTE_SB1xxx_SOC
10         ---help---
11           If you have a network (Ethernet) chipset belonging to this class,
12           say Y.
13
14           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.
18
19 if NET_VENDOR_BROADCOM
20
21 config B44
22         tristate "Broadcom 440x/47xx ethernet support"
23         depends on SSB_POSSIBLE && HAS_DMA
24         select SSB
25         select MII
26         select PHYLIB
27         ---help---
28           If you have a network (Ethernet) controller of this type, say Y
29           or M here.
30
31           To compile this driver as a module, choose M here. The module
32           will be called b44.
33
34 # Auto-select SSB PCI-HOST support, if possible
35 config B44_PCI_AUTOSELECT
36         bool
37         depends on B44 && SSB_PCIHOST_POSSIBLE
38         select SSB_PCIHOST
39         default y
40
41 # Auto-select SSB PCICORE driver, if possible
42 config B44_PCICORE_AUTOSELECT
43         bool
44         depends on B44 && SSB_DRIVER_PCICORE_POSSIBLE
45         select SSB_DRIVER_PCICORE
46         default y
47
48 config B44_PCI
49         bool
50         depends on B44_PCI_AUTOSELECT && B44_PCICORE_AUTOSELECT
51         default y
52
53 config BCM63XX_ENET
54         tristate "Broadcom 63xx internal mac support"
55         depends on BCM63XX
56         select MII
57         select PHYLIB
58         help
59           This driver supports the ethernet MACs in the Broadcom 63xx
60           MIPS chipset family (BCM63XX).
61
62 config BCMGENET
63         tristate "Broadcom GENET internal MAC support"
64         depends on HAS_IOMEM
65         select MII
66         select PHYLIB
67         select FIXED_PHY
68         select BCM7XXX_PHY
69         select MDIO_BCM_UNIMAC
70         help
71           This driver supports the built-in Ethernet MACs found in the
72           Broadcom BCM7xxx Set Top Box family chipset.
73
74 config BNX2
75         tristate "QLogic bnx2 support"
76         depends on PCI
77         select CRC32
78         select FW_LOADER
79         ---help---
80           This driver supports QLogic bnx2 gigabit Ethernet cards.
81
82           To compile this driver as a module, choose M here: the module
83           will be called bnx2.  This is recommended.
84
85 config CNIC
86         tristate "QLogic CNIC support"
87         depends on PCI && (IPV6 || IPV6=n)
88         select BNX2
89         select UIO
90         ---help---
91           This driver supports offload features of QLogic bnx2 gigabit
92           Ethernet cards.
93
94           To compile this driver as a module, choose M here: the module
95           will be called cnic.  This is recommended.
96
97 config SB1250_MAC
98         tristate "SB1250 Gigabit Ethernet support"
99         depends on SIBYTE_SB1xxx_SOC
100         select PHYLIB
101         ---help---
102           This driver supports Gigabit Ethernet interfaces based on the
103           Broadcom SiByte family of System-On-a-Chip parts.  They include
104           the BCM1120, BCM1125, BCM1125H, BCM1250, BCM1255, BCM1280, BCM1455
105           and BCM1480 chips.
106
107           To compile this driver as a module, choose M here: the module
108           will be called sb1250-mac.
109
110 config TIGON3
111         tristate "Broadcom Tigon3 support"
112         depends on PCI
113         select PHYLIB
114         imply PTP_1588_CLOCK
115         ---help---
116           This driver supports Broadcom Tigon3 based gigabit Ethernet cards.
117
118           To compile this driver as a module, choose M here: the module
119           will be called tg3.  This is recommended.
120
121 config TIGON3_HWMON
122         bool "Broadcom Tigon3 HWMON support"
123         default y
124         depends on TIGON3 && HWMON && !(TIGON3=y && HWMON=m)
125         ---help---
126           Say Y if you want to expose the thermal sensor on Tigon3 devices.
127
128 config BNX2X
129         tristate "Broadcom NetXtremeII 10Gb support"
130         depends on PCI
131         imply PTP_1588_CLOCK
132         select FW_LOADER
133         select ZLIB_INFLATE
134         select LIBCRC32C
135         select MDIO
136         ---help---
137           This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards.
138           To compile this driver as a module, choose M here: the module
139           will be called bnx2x.  This is recommended.
140
141 config BNX2X_SRIOV
142         bool "Broadcom 578xx and 57712 SR-IOV support"
143         depends on BNX2X && PCI_IOV
144         default y
145         ---help---
146           This configuration parameter enables Single Root Input Output
147           Virtualization support in the 578xx and 57712 products. This
148           allows for virtual function acceleration in virtual environments.
149
150 config BGMAC
151         tristate
152         help
153           This enables the integrated ethernet controller support for many
154           Broadcom (mostly iProc) SoCs. An appropriate bus interface driver
155           needs to be enabled to select this.
156
157 config BGMAC_BCMA
158         tristate "Broadcom iProc GBit BCMA support"
159         depends on BCMA && BCMA_HOST_SOC
160         depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST
161         select BGMAC
162         select PHYLIB
163         select FIXED_PHY
164         ---help---
165           This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus.
166           They can be found on BCM47xx SoCs and provide gigabit ethernet.
167           In case of using this driver on BCM4706 it's also requires to enable
168           BCMA_DRIVER_GMAC_CMN to make it work.
169
170 config BGMAC_PLATFORM
171         tristate "Broadcom iProc GBit platform support"
172         depends on ARCH_BCM_IPROC || COMPILE_TEST
173         depends on OF
174         select BGMAC
175         select PHYLIB
176         select FIXED_PHY
177         default ARCH_BCM_IPROC
178         ---help---
179           Say Y here if you want to use the Broadcom iProc Gigabit Ethernet
180           controller through the generic platform interface
181
182 config SYSTEMPORT
183         tristate "Broadcom SYSTEMPORT internal MAC support"
184         depends on HAS_IOMEM
185         depends on NET_DSA || !NET_DSA
186         select MII
187         select PHYLIB
188         select FIXED_PHY
189         help
190           This driver supports the built-in Ethernet MACs found in the
191           Broadcom BCM7xxx Set Top Box family chipset using an internal
192           Ethernet switch.
193
194 config BNXT
195         tristate "Broadcom NetXtreme-C/E support"
196         depends on PCI
197         depends on MAY_USE_DEVLINK
198         select FW_LOADER
199         select LIBCRC32C
200         ---help---
201           This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
202           Ethernet cards.  To compile this driver as a module, choose M here:
203           the module will be called bnxt_en.  This is recommended.
204
205 config BNXT_SRIOV
206         bool "Broadcom NetXtreme-C/E SR-IOV support"
207         depends on BNXT && PCI_IOV
208         default y
209         ---help---
210           This configuration parameter enables Single Root Input Output
211           Virtualization support in the NetXtreme-C/E products. This
212           allows for virtual function acceleration in virtual environments.
213
214 config BNXT_FLOWER_OFFLOAD
215         bool "TC Flower offload support for NetXtreme-C/E"
216         depends on BNXT
217         default y
218         ---help---
219           This configuration parameter enables TC Flower packet classifier
220           offload for eswitch.  This option enables SR-IOV switchdev eswitch
221           offload.
222
223 config BNXT_DCB
224         bool "Data Center Bridging (DCB) Support"
225         default n
226         depends on BNXT && DCB
227         ---help---
228           Say Y here if you want to use Data Center Bridging (DCB) in the
229           driver.
230
231           If unsure, say N.
232
233 config BNXT_HWMON
234         bool "Broadcom NetXtreme-C/E HWMON support"
235         default y
236         depends on BNXT && HWMON && !(BNXT=y && HWMON=m)
237         ---help---
238           Say Y if you want to expose the thermal sensor data on NetXtreme-C/E
239           devices, via the hwmon sysfs interface.
240
241 endif # NET_VENDOR_BROADCOM