xref: /linux/drivers/net/ethernet/broadcom/Kconfig (revision 7df4ae9fe85567a1710048da8229bd85e0da9df7)
1adfc5217SJeff Kirsher#
2adfc5217SJeff Kirsher# Broadcom device configuration
3adfc5217SJeff Kirsher#
4adfc5217SJeff Kirsher
5adfc5217SJeff Kirsherconfig NET_VENDOR_BROADCOM
6adfc5217SJeff Kirsher	bool "Broadcom devices"
788f07484SJeff Kirsher	default y
8adfc5217SJeff Kirsher	depends on (SSB_POSSIBLE && HAS_DMA) || PCI || BCM63XX || \
9adfc5217SJeff Kirsher		   SIBYTE_SB1xxx_SOC
10adfc5217SJeff Kirsher	---help---
11adfc5217SJeff Kirsher	  If you have a network (Ethernet) chipset belonging to this class,
12adfc5217SJeff Kirsher	  say Y.
13adfc5217SJeff Kirsher
14adfc5217SJeff Kirsher	  Note that the answer to this question does not directly affect
15adfc5217SJeff Kirsher	  the kernel: saying N will just case the configurator to skip all
16adfc5217SJeff Kirsher	  the questions regarding AMD chipsets. If you say Y, you will be asked
17adfc5217SJeff Kirsher	  for your specific chipset/driver in the following questions.
18adfc5217SJeff Kirsher
19adfc5217SJeff Kirsherif NET_VENDOR_BROADCOM
20adfc5217SJeff Kirsher
21adfc5217SJeff Kirsherconfig B44
22adfc5217SJeff Kirsher	tristate "Broadcom 440x/47xx ethernet support"
23adfc5217SJeff Kirsher	depends on SSB_POSSIBLE && HAS_DMA
24adfc5217SJeff Kirsher	select SSB
25adfc5217SJeff Kirsher	select MII
2686f4ea63SHauke Mehrtens	select PHYLIB
27adfc5217SJeff Kirsher	---help---
28adfc5217SJeff Kirsher	  If you have a network (Ethernet) controller of this type, say Y
29138b15edSPaul Gortmaker	  or M here.
30adfc5217SJeff Kirsher
31adfc5217SJeff Kirsher	  To compile this driver as a module, choose M here. The module
32adfc5217SJeff Kirsher	  will be called b44.
33adfc5217SJeff Kirsher
34adfc5217SJeff Kirsher# Auto-select SSB PCI-HOST support, if possible
35adfc5217SJeff Kirsherconfig B44_PCI_AUTOSELECT
36adfc5217SJeff Kirsher	bool
37adfc5217SJeff Kirsher	depends on B44 && SSB_PCIHOST_POSSIBLE
38adfc5217SJeff Kirsher	select SSB_PCIHOST
39adfc5217SJeff Kirsher	default y
40adfc5217SJeff Kirsher
41adfc5217SJeff Kirsher# Auto-select SSB PCICORE driver, if possible
42adfc5217SJeff Kirsherconfig B44_PCICORE_AUTOSELECT
43adfc5217SJeff Kirsher	bool
44adfc5217SJeff Kirsher	depends on B44 && SSB_DRIVER_PCICORE_POSSIBLE
45adfc5217SJeff Kirsher	select SSB_DRIVER_PCICORE
46adfc5217SJeff Kirsher	default y
47adfc5217SJeff Kirsher
48adfc5217SJeff Kirsherconfig B44_PCI
49adfc5217SJeff Kirsher	bool
50adfc5217SJeff Kirsher	depends on B44_PCI_AUTOSELECT && B44_PCICORE_AUTOSELECT
51adfc5217SJeff Kirsher	default y
52adfc5217SJeff Kirsher
53adfc5217SJeff Kirsherconfig BCM63XX_ENET
54adfc5217SJeff Kirsher	tristate "Broadcom 63xx internal mac support"
55adfc5217SJeff Kirsher	depends on BCM63XX
56adfc5217SJeff Kirsher	select MII
57adfc5217SJeff Kirsher	select PHYLIB
58adfc5217SJeff Kirsher	help
59adfc5217SJeff Kirsher	  This driver supports the ethernet MACs in the Broadcom 63xx
60adfc5217SJeff Kirsher	  MIPS chipset family (BCM63XX).
61adfc5217SJeff Kirsher
62bdaa53bdSFlorian Fainelliconfig BCMGENET
63bdaa53bdSFlorian Fainelli	tristate "Broadcom GENET internal MAC support"
64bdaa53bdSFlorian Fainelli	select MII
65bdaa53bdSFlorian Fainelli	select PHYLIB
66d8ced82eSFlorian Fainelli	select FIXED_PHY
67bdaa53bdSFlorian Fainelli	select BCM7XXX_PHY
68bdaa53bdSFlorian Fainelli	help
69bdaa53bdSFlorian Fainelli	  This driver supports the built-in Ethernet MACs found in the
70bdaa53bdSFlorian Fainelli	  Broadcom BCM7xxx Set Top Box family chipset.
71bdaa53bdSFlorian Fainelli
72adfc5217SJeff Kirsherconfig BNX2
732e0bf125SRasesh Mody	tristate "QLogic bnx2 support"
74adfc5217SJeff Kirsher	depends on PCI
75adfc5217SJeff Kirsher	select CRC32
76adfc5217SJeff Kirsher	select FW_LOADER
77adfc5217SJeff Kirsher	---help---
782e0bf125SRasesh Mody	  This driver supports QLogic bnx2 gigabit Ethernet cards.
79adfc5217SJeff Kirsher
80adfc5217SJeff Kirsher	  To compile this driver as a module, choose M here: the module
81adfc5217SJeff Kirsher	  will be called bnx2.  This is recommended.
82adfc5217SJeff Kirsher
83adfc5217SJeff Kirsherconfig CNIC
84d7afae05SJitendra Kalsaria	tristate "QLogic CNIC support"
85c99d667eSAnish Bhatt	depends on PCI && (IPV6 || IPV6=n)
86adfc5217SJeff Kirsher	select BNX2
87adfc5217SJeff Kirsher	select UIO
88adfc5217SJeff Kirsher	---help---
892e0bf125SRasesh Mody	  This driver supports offload features of QLogic bnx2 gigabit
902e0bf125SRasesh Mody	  Ethernet cards.
91adfc5217SJeff Kirsher
92adfc5217SJeff Kirsher	  To compile this driver as a module, choose M here: the module
93adfc5217SJeff Kirsher	  will be called cnic.  This is recommended.
94adfc5217SJeff Kirsher
95adfc5217SJeff Kirsherconfig SB1250_MAC
96adfc5217SJeff Kirsher	tristate "SB1250 Gigabit Ethernet support"
97adfc5217SJeff Kirsher	depends on SIBYTE_SB1xxx_SOC
98adfc5217SJeff Kirsher	select PHYLIB
99adfc5217SJeff Kirsher	---help---
100adfc5217SJeff Kirsher	  This driver supports Gigabit Ethernet interfaces based on the
101adfc5217SJeff Kirsher	  Broadcom SiByte family of System-On-a-Chip parts.  They include
102adfc5217SJeff Kirsher	  the BCM1120, BCM1125, BCM1125H, BCM1250, BCM1255, BCM1280, BCM1455
103adfc5217SJeff Kirsher	  and BCM1480 chips.
104adfc5217SJeff Kirsher
105adfc5217SJeff Kirsher	  To compile this driver as a module, choose M here: the module
106adfc5217SJeff Kirsher	  will be called sb1250-mac.
107adfc5217SJeff Kirsher
108adfc5217SJeff Kirsherconfig TIGON3
109adfc5217SJeff Kirsher	tristate "Broadcom Tigon3 support"
110adfc5217SJeff Kirsher	depends on PCI
111adfc5217SJeff Kirsher	select PHYLIB
112de0a4148SPaul Gortmaker	select HWMON
113be947307SMatt Carlson	select PTP_1588_CLOCK
114adfc5217SJeff Kirsher	---help---
115adfc5217SJeff Kirsher	  This driver supports Broadcom Tigon3 based gigabit Ethernet cards.
116adfc5217SJeff Kirsher
117adfc5217SJeff Kirsher	  To compile this driver as a module, choose M here: the module
118adfc5217SJeff Kirsher	  will be called tg3.  This is recommended.
119adfc5217SJeff Kirsher
120adfc5217SJeff Kirsherconfig BNX2X
121adfc5217SJeff Kirsher	tristate "Broadcom NetXtremeII 10Gb support"
122adfc5217SJeff Kirsher	depends on PCI
123f79918afSRandy Dunlap	select PTP_1588_CLOCK
124adfc5217SJeff Kirsher	select FW_LOADER
125adfc5217SJeff Kirsher	select ZLIB_INFLATE
126adfc5217SJeff Kirsher	select LIBCRC32C
127adfc5217SJeff Kirsher	select MDIO
128adfc5217SJeff Kirsher	---help---
129adfc5217SJeff Kirsher	  This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards.
130adfc5217SJeff Kirsher	  To compile this driver as a module, choose M here: the module
131adfc5217SJeff Kirsher	  will be called bnx2x.  This is recommended.
132adfc5217SJeff Kirsher
1336411280aSAriel Eliorconfig BNX2X_SRIOV
1346411280aSAriel Elior	bool "Broadcom 578xx and 57712 SR-IOV support"
1356411280aSAriel Elior	depends on BNX2X && PCI_IOV
1366411280aSAriel Elior	default y
1376411280aSAriel Elior	---help---
1386411280aSAriel Elior	  This configuration parameter enables Single Root Input Output
1396411280aSAriel Elior	  Virtualization support in the 578xx and 57712 products. This
1406411280aSAriel Elior	  allows for virtual function acceleration in virtual environments.
1416411280aSAriel Elior
142dd4544f0SRafał Miłeckiconfig BGMAC
143f6a95a24SJon Mason	tristate
144f6a95a24SJon Mason	help
145f6a95a24SJon Mason	  This enables the integrated ethernet controller support for many
146f6a95a24SJon Mason	  Broadcom (mostly iProc) SoCs. An appropriate bus interface driver
147f6a95a24SJon Mason	  needs to be enabled to select this.
148f6a95a24SJon Mason
149f6a95a24SJon Masonconfig BGMAC_BCMA
150f6a95a24SJon Mason	tristate "Broadcom iProc GBit BCMA support"
1511f820f53SArnd Bergmann	depends on BCMA && BCMA_HOST_SOC
1521f820f53SArnd Bergmann	depends on HAS_DMA
1531f820f53SArnd Bergmann	depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST
154f6a95a24SJon Mason	select BGMAC
15531bd2977SHauke Mehrtens	select PHYLIB
1561f820f53SArnd Bergmann	select FIXED_PHY
157dd4544f0SRafał Miłecki	---help---
158dd4544f0SRafał Miłecki	  This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus.
159dd4544f0SRafał Miłecki	  They can be found on BCM47xx SoCs and provide gigabit ethernet.
160dd4544f0SRafał Miłecki	  In case of using this driver on BCM4706 it's also requires to enable
161dd4544f0SRafał Miłecki	  BCMA_DRIVER_GMAC_CMN to make it work.
162dd4544f0SRafał Miłecki
163f6a95a24SJon Masonconfig BGMAC_PLATFORM
164f6a95a24SJon Mason	tristate "Broadcom iProc GBit platform support"
165f6a95a24SJon Mason	depends on HAS_DMA
166f6a95a24SJon Mason	depends on ARCH_BCM_IPROC || COMPILE_TEST
167f6a95a24SJon Mason	depends on OF
168f6a95a24SJon Mason	select BGMAC
169f6a95a24SJon Mason	select PHYLIB
170f6a95a24SJon Mason	select FIXED_PHY
171f6a95a24SJon Mason	default ARCH_BCM_IPROC
172f6a95a24SJon Mason	---help---
173f6a95a24SJon Mason	  Say Y here if you want to use the Broadcom iProc Gigabit Ethernet
174f6a95a24SJon Mason	  controller through the generic platform interface
175f6a95a24SJon Mason
176a3862db2SFlorian Fainelliconfig SYSTEMPORT
177a3862db2SFlorian Fainelli	tristate "Broadcom SYSTEMPORT internal MAC support"
178a3862db2SFlorian Fainelli	depends on OF
179a3862db2SFlorian Fainelli	select MII
180a3862db2SFlorian Fainelli	select PHYLIB
181598ea823SFlorian Fainelli	select FIXED_PHY
182a3862db2SFlorian Fainelli	help
183a3862db2SFlorian Fainelli	  This driver supports the built-in Ethernet MACs found in the
184a3862db2SFlorian Fainelli	  Broadcom BCM7xxx Set Top Box family chipset using an internal
185a3862db2SFlorian Fainelli	  Ethernet switch.
186a3862db2SFlorian Fainelli
187c0c050c5SMichael Chanconfig BNXT
188c0c050c5SMichael Chan	tristate "Broadcom NetXtreme-C/E support"
189c0c050c5SMichael Chan	depends on PCI
190c0c050c5SMichael Chan	select FW_LOADER
191c0c050c5SMichael Chan	select LIBCRC32C
192c0c050c5SMichael Chan	---help---
193c0c050c5SMichael Chan	  This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit
194c0c050c5SMichael Chan	  Ethernet cards.  To compile this driver as a module, choose M here:
195c0c050c5SMichael Chan	  the module will be called bnxt_en.  This is recommended.
196c0c050c5SMichael Chan
197c0c050c5SMichael Chanconfig BNXT_SRIOV
198c0c050c5SMichael Chan	bool "Broadcom NetXtreme-C/E SR-IOV support"
199c0c050c5SMichael Chan	depends on BNXT && PCI_IOV
200c0c050c5SMichael Chan	default y
201c0c050c5SMichael Chan	---help---
202c0c050c5SMichael Chan	  This configuration parameter enables Single Root Input Output
203c0c050c5SMichael Chan	  Virtualization support in the NetXtreme-C/E products. This
204c0c050c5SMichael Chan	  allows for virtual function acceleration in virtual environments.
205c0c050c5SMichael Chan
206*7df4ae9fSMichael Chanconfig BNXT_DCB
207*7df4ae9fSMichael Chan	bool "Data Center Bridging (DCB) Support"
208*7df4ae9fSMichael Chan	default n
209*7df4ae9fSMichael Chan	depends on BNXT && DCB
210*7df4ae9fSMichael Chan	---help---
211*7df4ae9fSMichael Chan	  Say Y here if you want to use Data Center Bridging (DCB) in the
212*7df4ae9fSMichael Chan	  driver.
213*7df4ae9fSMichael Chan
214*7df4ae9fSMichael Chan	  If unsure, say N.
215*7df4ae9fSMichael Chan
216adfc5217SJeff Kirsherendif # NET_VENDOR_BROADCOM
217