# SPDX-License-Identifier: GPL-2.0-only
config [31mCONFIG_B43LEGACY[0m
tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)"
depends on [31mCONFIG_SSB_POSSIBLE[0m && [31mCONFIG_MAC80211[0m && [31mCONFIG_HAS_DMA[0m
select [31mCONFIG_SSB[0m
select [31mCONFIG_FW_LOADER[0m
---help---
b43legacy is a driver for 802.11b devices from Broadcom (BCM4301 and
BCM4303) and early model 802.11g chips (BCM4306 Ver. 2) used in the
Linksys WPC54G V1 [31mCONFIG_PCMCIA[0m devices.
Newer 802.11g and 802.11a devices need b43.
It is safe to include both b43 and b43legacy as the underlying glue
layer will automatically load the correct version for your device.
This driver uses V3 firmware, which must be installed separately using
b43-fwcutter.
This driver can be built as a module (recommended) that will be
called "b43legacy". If unsure, say [31mCONFIG_M[0m.
# Auto-select [31mCONFIG_SSB[0m [31mCONFIG_PCI[0m-HOST support, if possible
config [31mCONFIG_B43LEGACY_PCI_AUTOSELECT[0m
bool
depends on [31mCONFIG_B43LEGACY[0m && [31mCONFIG_SSB_PCIHOST_POSSIBLE[0m
select [31mCONFIG_SSB_PCIHOST[0m
select [31mCONFIG_SSB_B43_PCI_BRIDGE[0m
default y
# Auto-select [31mCONFIG_SSB[0m PCICORE driver, if possible
config [31mCONFIG_B43LEGACY_PCICORE_AUTOSELECT[0m
bool
depends on [31mCONFIG_B43LEGACY[0m && [31mCONFIG_SSB_DRIVER_PCICORE_POSSIBLE[0m
select [31mCONFIG_SSB_DRIVER_PCICORE[0m
default y
# LED support
# This config option automatically enables b43legacy [31mCONFIG_LEDS[0m support,
# if it's possible.
config [31mCONFIG_B43LEGACY_LEDS[0m
bool
depends on [31mCONFIG_B43LEGACY[0m && [31mCONFIG_MAC80211_LEDS[0m && ([31mCONFIG_LEDS_CLASS[0m = y || [31mCONFIG_LEDS_CLASS[0m = [31mCONFIG_B43LEGACY[0m)
default y
# This config option automatically enables b43 HW-RNG support,
# if the HW-RNG core is enabled.
config [31mCONFIG_B43LEGACY_HWRNG[0m
bool
depends on [31mCONFIG_B43LEGACY[0m && ([31mCONFIG_HW_RANDOM[0m = y || [31mCONFIG_HW_RANDOM[0m = [31mCONFIG_B43LEGACY[0m)
default y
config [31mCONFIG_B43LEGACY_DEBUG[0m
bool "Broadcom 43xx-legacy debugging"
depends on [31mCONFIG_B43LEGACY[0m
default y
---help---
Say Y, because this information will help you get the driver running.
This option generates a minimum of log output.
config [31mCONFIG_B43LEGACY_DMA[0m
bool
depends on [31mCONFIG_B43LEGACY[0m
config [31mCONFIG_B43LEGACY_PIO[0m
bool
depends on [31mCONFIG_B43LEGACY[0m
choice
prompt "Broadcom 43xx-legacy data transfer mode"
depends on [31mCONFIG_B43LEGACY[0m
default [31mCONFIG_B43LEGACY_DMA_AND_PIO_MODE[0m
config [31mCONFIG_B43LEGACY_DMA_AND_PIO_MODE[0m
bool "DMA + PIO"
select [31mCONFIG_B43LEGACY_DMA[0m
select [31mCONFIG_B43LEGACY_PIO[0m
---help---
Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
data transfer modes. The mode actually used is selectable through
the module parameter "pio". With pio=0 as a module parameter, the
default DMA is used, otherwise PIO is used.
If unsure, choose this option.
config [31mCONFIG_B43LEGACY_DMA_MODE[0m
bool "DMA (Direct Memory Access) only"
select [31mCONFIG_B43LEGACY_DMA[0m
---help---
Only include Direct Memory Access (DMA).
This reduces the size of the driver module, by omitting the PIO code.
config [31mCONFIG_B43LEGACY_PIO_MODE[0m
bool "PIO (Programmed I/O) only"
select [31mCONFIG_B43LEGACY_PIO[0m
---help---
Only include Programmed I/O (PIO).
This reduces the size of the driver module, by omitting the DMA code.
Please note that PIO transfers are slow (compared to DMA).
Also note that not all devices of the b43legacy series support PIO.
You should use PIO only if DMA does not work for you.
endchoice