regulator: lp872x: Don't set constraints within the regulator driver
[cascardo/linux.git] / drivers / net / wireless / b43 / Kconfig
1 config B43
2         tristate "Broadcom 43xx wireless support (mac80211 stack)"
3         depends on (BCMA_POSSIBLE || SSB_POSSIBLE) && MAC80211 && HAS_DMA
4         select BCMA if B43_BCMA
5         select SSB if B43_SSB
6         select FW_LOADER
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
30 config B43_BCMA
31         bool
32
33 config B43_SSB
34         bool
35
36 choice
37         prompt "Supported bus types"
38         depends on B43
39         default B43_BCMA_AND_SSB
40
41 config 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
47 config B43_BUSES_BCMA
48         bool "BCMA only"
49         depends on BCMA_POSSIBLE
50         select B43_BCMA
51
52 config B43_BUSES_SSB
53         bool "SSB only"
54         depends on SSB_POSSIBLE
55         select B43_SSB
56
57 endchoice
58
59 # Auto-select SSB PCI-HOST support, if possible
60 config B43_PCI_AUTOSELECT
61         bool
62         depends on B43 && SSB_PCIHOST_POSSIBLE
63         select SSB_PCIHOST
64         select SSB_B43_PCI_BRIDGE
65         default y
66
67 # Auto-select SSB PCICORE driver, if possible
68 config B43_PCICORE_AUTOSELECT
69         bool
70         depends on B43 && SSB_DRIVER_PCICORE_POSSIBLE
71         select SSB_DRIVER_PCICORE
72         default y
73
74 config B43_PCMCIA
75         bool "Broadcom 43xx PCMCIA device support"
76         depends on B43 && B43_SSB && SSB_PCMCIAHOST_POSSIBLE
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
94 config B43_SDIO
95         bool "Broadcom 43xx SDIO device support"
96         depends on B43 && B43_SSB && SSB_SDIOHOST_POSSIBLE
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
111 #Data transfers to the device via PIO. We want it as a fallback even
112 # if we can do DMA.
113 config B43_BCMA_PIO
114         bool
115         depends on B43 && B43_BCMA
116         select BCMA_BLOCKIO
117         default y
118
119 config B43_PIO
120         bool
121         depends on B43 && B43_SSB
122         select SSB_BLOCKIO
123         default y
124
125 config B43_PHY_N
126         bool "Support for 802.11n (N-PHY) devices"
127         depends on B43
128         default y
129         ---help---
130           Support for the N-PHY.
131
132           This enables support for devices with N-PHY.
133
134           Say N if you expect high stability and performance. Saying Y will not
135           affect other devices support and may provide support for basic needs.
136
137 config B43_PHY_LP
138         bool "Support for low-power (LP-PHY) devices"
139         depends on B43 && B43_SSB
140         default y
141         ---help---
142           Support for the LP-PHY.
143           The LP-PHY is a low-power PHY built into some notebooks
144           and embedded devices. It supports 802.11a/b/g
145           (802.11a support is optional, and currently disabled).
146
147 config B43_PHY_HT
148         bool "Support for HT-PHY (high throughput) devices"
149         depends on B43 && B43_BCMA
150         default y
151         ---help---
152           Support for the HT-PHY.
153
154           Enables support for BCM4331 and possibly other chipsets with that PHY.
155
156 config B43_PHY_LCN
157         bool "Support for LCN-PHY devices (BROKEN)"
158         depends on B43 && BROKEN
159         ---help---
160           Support for the LCN-PHY.
161
162           Say N, this is BROKEN and crashes driver.
163
164 # This config option automatically enables b43 LEDS support,
165 # if it's possible.
166 config B43_LEDS
167         bool
168         depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
169         default y
170
171 # This config option automatically enables b43 HW-RNG support,
172 # if the HW-RNG core is enabled.
173 config B43_HWRNG
174         bool
175         depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)
176         default y
177
178 config B43_DEBUG
179         bool "Broadcom 43xx debugging"
180         depends on B43
181         ---help---
182           Broadcom 43xx debugging.
183
184           This adds additional runtime sanity checks and statistics to the driver.
185           These checks and statistics might be expensive and hurt the runtime
186           performance of your system.
187           This also adds the b43 debugfs interface.
188
189           Do not enable this, unless you are debugging the driver.
190
191           Say N, if you are a distributor or user building a release kernel
192           for production use.
193           Only say Y, if you are debugging a problem in the b43 driver sourcecode.