Merge git://www.linux-watchdog.org/linux-watchdog
[linux-2.6-block.git] / drivers / net / wireless / b43 / Kconfig
CommitLineData
e4d6b795
MB
1config B43
2 tristate "Broadcom 43xx wireless support (mac80211 stack)"
fbe057d8
RM
3 depends on (BCMA_POSSIBLE || SSB_POSSIBLE) && MAC80211 && HAS_DMA
4 select BCMA if B43_BCMA
5 select SSB if B43_SSB
e4d6b795 6 select FW_LOADER
e4d6b795
MB
7 ---help---
8 b43 is a driver for the Broadcom 43xx series wireless devices.
9
10 Check "lspci" for something like
11 "Broadcom Corporation BCM43XX 802.11 Wireless LAN Controller"
12 to determine whether you own such a device.
13
14 This driver supports the new BCM43xx IEEE 802.11G devices, but not
15 the old IEEE 802.11B devices. Old devices are supported by
16 the b43legacy driver.
17 Note that this has nothing to do with the standard that your AccessPoint
18 supports (A, B, G or a combination).
19 IEEE 802.11G devices can talk to IEEE 802.11B AccessPoints.
20
21 It is safe to include both b43 and b43legacy as the underlying glue
22 layer will automatically load the correct version for your device.
23
24 This driver uses V4 firmware, which must be installed separately using
25 b43-fwcutter.
26
27 This driver can be built as a module (recommended) that will be called "b43".
28 If unsure, say M.
29
3c65ab62 30config B43_BCMA
fbe057d8 31 bool
3c65ab62 32
aec7ffdf
RM
33config B43_SSB
34 bool
fbe057d8
RM
35
36choice
37 prompt "Supported bus types"
38 depends on B43
740bb82b 39 default B43_BUSES_BCMA_AND_SSB
fbe057d8
RM
40
41config B43_BUSES_BCMA_AND_SSB
42 bool "BCMA and SSB"
43 depends on BCMA_POSSIBLE && SSB_POSSIBLE
44 select B43_BCMA
45 select B43_SSB
46
47config B43_BUSES_BCMA
48 bool "BCMA only"
49 depends on BCMA_POSSIBLE
50 select B43_BCMA
51
52config B43_BUSES_SSB
53 bool "SSB only"
54 depends on SSB_POSSIBLE
55 select B43_SSB
56
57endchoice
aec7ffdf 58
e4d6b795
MB
59# Auto-select SSB PCI-HOST support, if possible
60config B43_PCI_AUTOSELECT
61 bool
62 depends on B43 && SSB_PCIHOST_POSSIBLE
63 select SSB_PCIHOST
c7084535 64 select SSB_B43_PCI_BRIDGE
e4d6b795
MB
65 default y
66
67# Auto-select SSB PCICORE driver, if possible
68config B43_PCICORE_AUTOSELECT
69 bool
70 depends on B43 && SSB_DRIVER_PCICORE_POSSIBLE
71 select SSB_DRIVER_PCICORE
72 default y
73
74config B43_PCMCIA
fd413da8 75 bool "Broadcom 43xx PCMCIA device support"
1db10595 76 depends on B43 && B43_SSB && SSB_PCMCIAHOST_POSSIBLE
e4d6b795
MB
77 select SSB_PCMCIAHOST
78 ---help---
79 Broadcom 43xx PCMCIA device support.
80
81 Support for 16bit PCMCIA devices.
82 Please note that most PC-CARD devices are _NOT_ 16bit PCMCIA
83 devices, but 32bit CardBUS devices. CardBUS devices are supported
84 out of the box by b43.
85
86 With this config option you can drive b43 cards in
87 CompactFlash formfactor in a PCMCIA adaptor.
88 CF b43 cards can sometimes be found in handheld PCs.
89
90 It's safe to select Y here, even if you don't have a B43 PCMCIA device.
91
92 If unsure, say N.
93
3dbba8e2 94config B43_SDIO
afd19ef0 95 bool "Broadcom 43xx SDIO device support"
1db10595 96 depends on B43 && B43_SSB && SSB_SDIOHOST_POSSIBLE
3dbba8e2
AH
97 select SSB_SDIOHOST
98 ---help---
99 Broadcom 43xx device support for Soft-MAC SDIO devices.
100
101 With this config option you can drive Soft-MAC b43 cards with a
102 Secure Digital I/O interface.
103 This includes the WLAN daughter card found on the Nintendo Wii
104 video game console.
105 Note that this does not support Broadcom 43xx Full-MAC devices.
106
107 It's safe to select Y here, even if you don't have a B43 SDIO device.
108
109 If unsure, say N.
110
9e3bd919
LT
111#Data transfers to the device via PIO. We want it as a fallback even
112# if we can do DMA.
8c8b964c
RM
113config B43_BCMA_PIO
114 bool
cc1ad9d2 115 depends on B43 && B43_BCMA
8c8b964c
RM
116 select BCMA_BLOCKIO
117 default y
118
9e3bd919
LT
119config B43_PIO
120 bool
fbe057d8 121 depends on B43 && B43_SSB
9e3bd919
LT
122 select SSB_BLOCKIO
123 default y
124
418378fe
RM
125config B43_PHY_G
126 bool "Support for G-PHY (802.11g) devices"
127 depends on B43 && B43_SSB
128 default y
129 ---help---
130 This PHY type can be found in the following chipsets:
131 PCI: BCM4306, BCM4311, BCM4318
132 SoC: BCM4712, BCM5352E
133
692d2c0f 134config B43_PHY_N
ed7f75b4 135 bool "Support for N-PHY (the main 802.11n series) devices"
afd19ef0 136 depends on B43
6b692f3b 137 default y
d5c71e46 138 ---help---
ed7f75b4
RM
139 This PHY type can be found in the following chipsets:
140 PCI: BCM4321, BCM4322,
141 BCM43222, BCM43224, BCM43225,
142 BCM43131, BCM43217, BCM43227, BCM43228
143 SoC: BCM4716, BCM4717, BCM4718, BCM5356, BCM5357, BCM5358
d5c71e46 144
e63e4363 145config B43_PHY_LP
ed7f75b4 146 bool "Support for LP-PHY (low-power 802.11g) devices"
bd7c8a59 147 depends on B43 && B43_SSB
867b2efe 148 default y
e63e4363 149 ---help---
86b2892a 150 The LP-PHY is a low-power PHY built into some notebooks
53dd4b93 151 and embedded devices. It supports 802.11a/b/g
86b2892a 152 (802.11a support is optional, and currently disabled).
e63e4363 153
d7520b1d 154config B43_PHY_HT
ed7f75b4 155 bool "Support for HT-PHY (high throughput 802.11n) devices"
7c2332b8 156 depends on B43 && B43_BCMA
6b692f3b 157 default y
d7520b1d 158 ---help---
ed7f75b4 159 This PHY type with 3x3:3 MIMO can be found in the BCM4331 PCI chipset.
d7520b1d 160
1d738e64
RM
161config B43_PHY_LCN
162 bool "Support for LCN-PHY devices (BROKEN)"
163 depends on B43 && BROKEN
164 ---help---
165 Support for the LCN-PHY.
166
167 Say N, this is BROKEN and crashes driver.
168
bdb3f751
MB
169# This config option automatically enables b43 LEDS support,
170# if it's possible.
21954c36
MB
171config B43_LEDS
172 bool
bdb3f751 173 depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
8e9f7529
MB
174 default y
175
616de35d
MB
176# This config option automatically enables b43 HW-RNG support,
177# if the HW-RNG core is enabled.
178config B43_HWRNG
179 bool
180 depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)
181 default y
182
e4d6b795
MB
183config B43_DEBUG
184 bool "Broadcom 43xx debugging"
185 depends on B43
186 ---help---
060210f9 187 Broadcom 43xx debugging.
e4d6b795 188
060210f9 189 This adds additional runtime sanity checks and statistics to the driver.
a8291484
TK
190 These checks and statistics might be expensive and hurt the runtime
191 performance of your system.
060210f9
MB
192 This also adds the b43 debugfs interface.
193
194 Do not enable this, unless you are debugging the driver.
195
196 Say N, if you are a distributor or user building a release kernel
197 for production use.
198 Only say Y, if you are debugging a problem in the b43 driver sourcecode.