GNU Linux-libre 4.14.303-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 OF && 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 HAS_DMA
161         depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST
162         select BGMAC
163         select PHYLIB
164         select FIXED_PHY
165         ---help---
166           This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus.
167           They can be found on BCM47xx SoCs and provide gigabit ethernet.
168           In case of using this driver on BCM4706 it's also requires to enable
169           BCMA_DRIVER_GMAC_CMN to make it work.
170
171 config BGMAC_PLATFORM
172         tristate "Broadcom iProc GBit platform support"
173         depends on HAS_DMA
174         depends on ARCH_BCM_IPROC || COMPILE_TEST
175         depends on OF
176         select BGMAC
177         select PHYLIB
178         select FIXED_PHY
179         default ARCH_BCM_IPROC
180         ---help---
181           Say Y here if you want to use the Broadcom iProc Gigabit Ethernet
182           controller through the generic platform interface
183
184 config SYSTEMPORT
185         tristate "Broadcom SYSTEMPORT internal MAC support"
186         depends on OF
187         select MII
188         select PHYLIB
189         select FIXED_PHY
190         help
191           This driver supports the built-in Ethernet MACs found in the
192           Broadcom BCM7xxx Set Top Box family chipset using an internal
193           Ethernet switch.
194
195 config BNXT
196         tristate "Broadcom NetXtreme-C/E support"
197         depends on PCI
198         depends on MAY_USE_DEVLINK
199         select FW_LOADER
200         select LIBCRC32C
201         ---help---
202           This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
203           Ethernet cards.  To compile this driver as a module, choose M here:
204           the module will be called bnxt_en.  This is recommended.
205
206 config BNXT_SRIOV
207         bool "Broadcom NetXtreme-C/E SR-IOV support"
208         depends on BNXT && PCI_IOV
209         default y
210         ---help---
211           This configuration parameter enables Single Root Input Output
212           Virtualization support in the NetXtreme-C/E products. This
213           allows for virtual function acceleration in virtual environments.
214
215 config BNXT_FLOWER_OFFLOAD
216         bool "TC Flower offload support for NetXtreme-C/E"
217         depends on BNXT
218         default y
219         ---help---
220           This configuration parameter enables TC Flower packet classifier
221           offload for eswitch.  This option enables SR-IOV switchdev eswitch
222           offload.
223
224 config BNXT_DCB
225         bool "Data Center Bridging (DCB) Support"
226         default n
227         depends on BNXT && DCB
228         ---help---
229           Say Y here if you want to use Data Center Bridging (DCB) in the
230           driver.
231
232           If unsure, say N.
233
234 endif # NET_VENDOR_BROADCOM