Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 2 | # |
| 3 | # Broadcom device configuration |
| 4 | # |
| 5 | |
| 6 | config NET_VENDOR_BROADCOM |
| 7 | bool "Broadcom devices" |
Jeff Kirsher | 88f0748 | 2011-08-23 01:29:52 -0700 | [diff] [blame] | 8 | default y |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 9 | depends on (SSB_POSSIBLE && HAS_DMA) || PCI || BCM63XX || \ |
| 10 | SIBYTE_SB1xxx_SOC |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 11 | help |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 12 | If you have a network (Ethernet) chipset belonging to this class, |
| 13 | say Y. |
| 14 | |
| 15 | Note that the answer to this question does not directly affect |
Geert Uytterhoeven | aca3432 | 2019-07-31 15:22:12 +0200 | [diff] [blame] | 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. |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 19 | |
| 20 | if NET_VENDOR_BROADCOM |
| 21 | |
| 22 | config B44 |
| 23 | tristate "Broadcom 440x/47xx ethernet support" |
| 24 | depends on SSB_POSSIBLE && HAS_DMA |
| 25 | select SSB |
| 26 | select MII |
Hauke Mehrtens | 86f4ea6 | 2013-12-20 02:16:10 +0100 | [diff] [blame] | 27 | select PHYLIB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 28 | help |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 29 | If you have a network (Ethernet) controller of this type, say Y |
Paul Gortmaker | 138b15e | 2015-06-21 16:28:02 -0400 | [diff] [blame] | 30 | or M here. |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 31 | |
| 32 | To compile this driver as a module, choose M here. The module |
| 33 | will be called b44. |
| 34 | |
| 35 | # Auto-select SSB PCI-HOST support, if possible |
| 36 | config B44_PCI_AUTOSELECT |
| 37 | bool |
| 38 | depends on B44 && SSB_PCIHOST_POSSIBLE |
| 39 | select SSB_PCIHOST |
| 40 | default y |
| 41 | |
| 42 | # Auto-select SSB PCICORE driver, if possible |
| 43 | config B44_PCICORE_AUTOSELECT |
| 44 | bool |
| 45 | depends on B44 && SSB_DRIVER_PCICORE_POSSIBLE |
| 46 | select SSB_DRIVER_PCICORE |
| 47 | default y |
| 48 | |
| 49 | config B44_PCI |
| 50 | bool |
| 51 | depends on B44_PCI_AUTOSELECT && B44_PCICORE_AUTOSELECT |
| 52 | default y |
| 53 | |
| 54 | config BCM63XX_ENET |
| 55 | tristate "Broadcom 63xx internal mac support" |
| 56 | depends on BCM63XX |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 57 | select MII |
| 58 | select PHYLIB |
| 59 | help |
| 60 | This driver supports the ethernet MACs in the Broadcom 63xx |
| 61 | MIPS chipset family (BCM63XX). |
| 62 | |
Florian Fainelli | bdaa53b | 2014-02-13 16:08:49 -0800 | [diff] [blame] | 63 | config BCMGENET |
| 64 | tristate "Broadcom GENET internal MAC support" |
Florian Fainelli | 7f7b757 | 2018-07-17 08:42:05 -0700 | [diff] [blame] | 65 | depends on HAS_IOMEM |
Florian Fainelli | bdaa53b | 2014-02-13 16:08:49 -0800 | [diff] [blame] | 66 | select MII |
| 67 | select PHYLIB |
Florian Fainelli | d8ced82 | 2014-12-15 09:57:13 -0800 | [diff] [blame] | 68 | select FIXED_PHY |
Florian Fainelli | bdaa53b | 2014-02-13 16:08:49 -0800 | [diff] [blame] | 69 | select BCM7XXX_PHY |
Florian Fainelli | 9a4e796 | 2017-07-31 12:04:26 -0700 | [diff] [blame] | 70 | select MDIO_BCM_UNIMAC |
Randy Dunlap | ddc790e | 2019-10-11 21:03:33 -0700 | [diff] [blame] | 71 | select DIMLIB |
Florian Fainelli | 99addbe | 2020-05-13 08:51:51 -0700 | [diff] [blame] | 72 | select BROADCOM_PHY if ARCH_BCM2835 |
Florian Fainelli | bdaa53b | 2014-02-13 16:08:49 -0800 | [diff] [blame] | 73 | help |
| 74 | This driver supports the built-in Ethernet MACs found in the |
| 75 | Broadcom BCM7xxx Set Top Box family chipset. |
| 76 | |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 77 | config BNX2 |
Rasesh Mody | 2e0bf12 | 2015-02-17 19:26:18 -0500 | [diff] [blame] | 78 | tristate "QLogic bnx2 support" |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 79 | depends on PCI |
| 80 | select CRC32 |
| 81 | select FW_LOADER |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 82 | help |
Rasesh Mody | 2e0bf12 | 2015-02-17 19:26:18 -0500 | [diff] [blame] | 83 | This driver supports QLogic bnx2 gigabit Ethernet cards. |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 84 | |
| 85 | To compile this driver as a module, choose M here: the module |
| 86 | will be called bnx2. This is recommended. |
| 87 | |
| 88 | config CNIC |
Jitendra Kalsaria | d7afae0 | 2014-06-23 15:10:34 -0400 | [diff] [blame] | 89 | tristate "QLogic CNIC support" |
Anish Bhatt | c99d667 | 2014-09-04 17:12:57 -0700 | [diff] [blame] | 90 | depends on PCI && (IPV6 || IPV6=n) |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 91 | select BNX2 |
| 92 | select UIO |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 93 | help |
Rasesh Mody | 2e0bf12 | 2015-02-17 19:26:18 -0500 | [diff] [blame] | 94 | This driver supports offload features of QLogic bnx2 gigabit |
| 95 | Ethernet cards. |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 96 | |
| 97 | To compile this driver as a module, choose M here: the module |
| 98 | will be called cnic. This is recommended. |
| 99 | |
| 100 | config SB1250_MAC |
| 101 | tristate "SB1250 Gigabit Ethernet support" |
| 102 | depends on SIBYTE_SB1xxx_SOC |
| 103 | select PHYLIB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 104 | help |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 105 | This driver supports Gigabit Ethernet interfaces based on the |
| 106 | Broadcom SiByte family of System-On-a-Chip parts. They include |
| 107 | the BCM1120, BCM1125, BCM1125H, BCM1250, BCM1255, BCM1280, BCM1455 |
| 108 | and BCM1480 chips. |
| 109 | |
| 110 | To compile this driver as a module, choose M here: the module |
| 111 | will be called sb1250-mac. |
| 112 | |
| 113 | config TIGON3 |
| 114 | tristate "Broadcom Tigon3 support" |
| 115 | depends on PCI |
| 116 | select PHYLIB |
Nicolas Pitre | d1cbfd7 | 2016-11-11 00:10:07 -0500 | [diff] [blame] | 117 | imply PTP_1588_CLOCK |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 118 | help |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 119 | This driver supports Broadcom Tigon3 based gigabit Ethernet cards. |
| 120 | |
| 121 | To compile this driver as a module, choose M here: the module |
| 122 | will be called tg3. This is recommended. |
| 123 | |
Florian Fainelli | 038e893 | 2017-03-06 12:56:02 -0800 | [diff] [blame] | 124 | config TIGON3_HWMON |
| 125 | bool "Broadcom Tigon3 HWMON support" |
| 126 | default y |
| 127 | depends on TIGON3 && HWMON && !(TIGON3=y && HWMON=m) |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 128 | help |
Florian Fainelli | 038e893 | 2017-03-06 12:56:02 -0800 | [diff] [blame] | 129 | Say Y if you want to expose the thermal sensor on Tigon3 devices. |
| 130 | |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 131 | config BNX2X |
| 132 | tristate "Broadcom NetXtremeII 10Gb support" |
| 133 | depends on PCI |
Nicolas Pitre | d1cbfd7 | 2016-11-11 00:10:07 -0500 | [diff] [blame] | 134 | imply PTP_1588_CLOCK |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 135 | select FW_LOADER |
| 136 | select ZLIB_INFLATE |
| 137 | select LIBCRC32C |
| 138 | select MDIO |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 139 | help |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 140 | This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards. |
| 141 | To compile this driver as a module, choose M here: the module |
| 142 | will be called bnx2x. This is recommended. |
| 143 | |
Ariel Elior | 6411280 | 2013-01-07 00:50:23 +0000 | [diff] [blame] | 144 | config BNX2X_SRIOV |
| 145 | bool "Broadcom 578xx and 57712 SR-IOV support" |
| 146 | depends on BNX2X && PCI_IOV |
| 147 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 148 | help |
Ariel Elior | 6411280 | 2013-01-07 00:50:23 +0000 | [diff] [blame] | 149 | This configuration parameter enables Single Root Input Output |
| 150 | Virtualization support in the 578xx and 57712 products. This |
| 151 | allows for virtual function acceleration in virtual environments. |
| 152 | |
Rafał Miłecki | dd4544f | 2013-01-08 20:06:23 +0000 | [diff] [blame] | 153 | config BGMAC |
Jon Mason | f6a95a2 | 2016-07-07 19:08:57 -0400 | [diff] [blame] | 154 | tristate |
| 155 | help |
| 156 | This enables the integrated ethernet controller support for many |
| 157 | Broadcom (mostly iProc) SoCs. An appropriate bus interface driver |
| 158 | needs to be enabled to select this. |
| 159 | |
| 160 | config BGMAC_BCMA |
| 161 | tristate "Broadcom iProc GBit BCMA support" |
Arnd Bergmann | 1f820f5 | 2016-01-29 12:39:12 +0100 | [diff] [blame] | 162 | depends on BCMA && BCMA_HOST_SOC |
Arnd Bergmann | 1f820f5 | 2016-01-29 12:39:12 +0100 | [diff] [blame] | 163 | depends on BCM47XX || ARCH_BCM_5301X || COMPILE_TEST |
Jon Mason | f6a95a2 | 2016-07-07 19:08:57 -0400 | [diff] [blame] | 164 | select BGMAC |
Hauke Mehrtens | 31bd297 | 2013-07-15 13:26:27 +0200 | [diff] [blame] | 165 | select PHYLIB |
Arnd Bergmann | 1f820f5 | 2016-01-29 12:39:12 +0100 | [diff] [blame] | 166 | select FIXED_PHY |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 167 | help |
Rafał Miłecki | dd4544f | 2013-01-08 20:06:23 +0000 | [diff] [blame] | 168 | This driver supports GBit MAC and BCM4706 GBit MAC cores on BCMA bus. |
| 169 | They can be found on BCM47xx SoCs and provide gigabit ethernet. |
| 170 | In case of using this driver on BCM4706 it's also requires to enable |
| 171 | BCMA_DRIVER_GMAC_CMN to make it work. |
| 172 | |
Jon Mason | f6a95a2 | 2016-07-07 19:08:57 -0400 | [diff] [blame] | 173 | config BGMAC_PLATFORM |
| 174 | tristate "Broadcom iProc GBit platform support" |
Jon Mason | f6a95a2 | 2016-07-07 19:08:57 -0400 | [diff] [blame] | 175 | depends on ARCH_BCM_IPROC || COMPILE_TEST |
| 176 | depends on OF |
| 177 | select BGMAC |
| 178 | select PHYLIB |
| 179 | select FIXED_PHY |
| 180 | default ARCH_BCM_IPROC |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 181 | help |
Jon Mason | f6a95a2 | 2016-07-07 19:08:57 -0400 | [diff] [blame] | 182 | Say Y here if you want to use the Broadcom iProc Gigabit Ethernet |
| 183 | controller through the generic platform interface |
| 184 | |
Florian Fainelli | a3862db | 2014-04-24 18:08:59 -0700 | [diff] [blame] | 185 | config SYSTEMPORT |
| 186 | tristate "Broadcom SYSTEMPORT internal MAC support" |
Florian Fainelli | 7f7b757 | 2018-07-17 08:42:05 -0700 | [diff] [blame] | 187 | depends on HAS_IOMEM |
Arnd Bergmann | 00fb3a7 | 2017-10-16 13:32:36 +0200 | [diff] [blame] | 188 | depends on NET_DSA || !NET_DSA |
Florian Fainelli | a3862db | 2014-04-24 18:08:59 -0700 | [diff] [blame] | 189 | select MII |
| 190 | select PHYLIB |
Florian Fainelli | 598ea82 | 2014-12-15 09:57:14 -0800 | [diff] [blame] | 191 | select FIXED_PHY |
Randy Dunlap | ddc790e | 2019-10-11 21:03:33 -0700 | [diff] [blame] | 192 | select DIMLIB |
Florian Fainelli | a3862db | 2014-04-24 18:08:59 -0700 | [diff] [blame] | 193 | help |
| 194 | This driver supports the built-in Ethernet MACs found in the |
| 195 | Broadcom BCM7xxx Set Top Box family chipset using an internal |
| 196 | Ethernet switch. |
| 197 | |
Michael Chan | c0c050c | 2015-10-22 16:01:17 -0400 | [diff] [blame] | 198 | config BNXT |
| 199 | tristate "Broadcom NetXtreme-C/E support" |
| 200 | depends on PCI |
| 201 | select FW_LOADER |
| 202 | select LIBCRC32C |
Jiri Pirko | f6b19b3 | 2019-03-24 11:14:38 +0100 | [diff] [blame] | 203 | select NET_DEVLINK |
Andy Gospodarek | 322b87c | 2019-07-08 17:53:04 -0400 | [diff] [blame] | 204 | select PAGE_POOL |
Randy Dunlap | ddc790e | 2019-10-11 21:03:33 -0700 | [diff] [blame] | 205 | select DIMLIB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 206 | help |
Michael Chan | c0c050c | 2015-10-22 16:01:17 -0400 | [diff] [blame] | 207 | This driver supports Broadcom NetXtreme-C/E 10/25/40/50 gigabit |
| 208 | Ethernet cards. To compile this driver as a module, choose M here: |
| 209 | the module will be called bnxt_en. This is recommended. |
| 210 | |
| 211 | config BNXT_SRIOV |
| 212 | bool "Broadcom NetXtreme-C/E SR-IOV support" |
| 213 | depends on BNXT && PCI_IOV |
| 214 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 215 | help |
Michael Chan | c0c050c | 2015-10-22 16:01:17 -0400 | [diff] [blame] | 216 | This configuration parameter enables Single Root Input Output |
| 217 | Virtualization support in the NetXtreme-C/E products. This |
| 218 | allows for virtual function acceleration in virtual environments. |
| 219 | |
Sathya Perla | 2ae7408 | 2017-08-28 13:40:33 -0400 | [diff] [blame] | 220 | config BNXT_FLOWER_OFFLOAD |
| 221 | bool "TC Flower offload support for NetXtreme-C/E" |
| 222 | depends on BNXT |
| 223 | default y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 224 | help |
Sathya Perla | 2ae7408 | 2017-08-28 13:40:33 -0400 | [diff] [blame] | 225 | This configuration parameter enables TC Flower packet classifier |
| 226 | offload for eswitch. This option enables SR-IOV switchdev eswitch |
| 227 | offload. |
| 228 | |
Michael Chan | 7df4ae9 | 2016-12-02 21:17:17 -0500 | [diff] [blame] | 229 | config BNXT_DCB |
| 230 | bool "Data Center Bridging (DCB) Support" |
| 231 | default n |
| 232 | depends on BNXT && DCB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 233 | help |
Michael Chan | 7df4ae9 | 2016-12-02 21:17:17 -0500 | [diff] [blame] | 234 | Say Y here if you want to use Data Center Bridging (DCB) in the |
| 235 | driver. |
| 236 | |
| 237 | If unsure, say N. |
| 238 | |
Vasundhara Volam | cde49a4 | 2018-08-05 16:51:56 -0400 | [diff] [blame] | 239 | config BNXT_HWMON |
| 240 | bool "Broadcom NetXtreme-C/E HWMON support" |
| 241 | default y |
| 242 | depends on BNXT && HWMON && !(BNXT=y && HWMON=m) |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame^] | 243 | help |
Vasundhara Volam | cde49a4 | 2018-08-05 16:51:56 -0400 | [diff] [blame] | 244 | Say Y if you want to expose the thermal sensor data on NetXtreme-C/E |
| 245 | devices, via the hwmon sysfs interface. |
| 246 | |
Jeff Kirsher | adfc521 | 2011-04-07 06:03:04 -0700 | [diff] [blame] | 247 | endif # NET_VENDOR_BROADCOM |