Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git] / drivers / net / wireless / b43 / Kconfig
1 config B43
2         tristate "Broadcom 43xx wireless support (mac80211 stack)"
3         depends on SSB_POSSIBLE && MAC80211 && HAS_DMA
4         select SSB
5         select FW_LOADER
6         ---help---
7           b43 is a driver for the Broadcom 43xx series wireless devices.
8
9           Check "lspci" for something like
10           "Broadcom Corporation BCM43XX 802.11 Wireless LAN Controller"
11           to determine whether you own such a device.
12
13           This driver supports the new BCM43xx IEEE 802.11G devices, but not
14           the old IEEE 802.11B devices. Old devices are supported by
15           the b43legacy driver.
16           Note that this has nothing to do with the standard that your AccessPoint
17           supports (A, B, G or a combination).
18           IEEE 802.11G devices can talk to IEEE 802.11B AccessPoints.
19
20           It is safe to include both b43 and b43legacy as the underlying glue
21           layer will automatically load the correct version for your device.
22
23           This driver uses V4 firmware, which must be installed separately using
24           b43-fwcutter.
25
26           This driver can be built as a module (recommended) that will be called "b43".
27           If unsure, say M.
28
29 config B43_BCMA
30         bool "Support for BCMA bus"
31         depends on B43 && BCMA && BROKEN
32         default y
33
34 config B43_SSB
35         bool
36         depends on B43 && SSB
37         default y
38
39 # Auto-select SSB PCI-HOST support, if possible
40 config B43_PCI_AUTOSELECT
41         bool
42         depends on B43 && SSB_PCIHOST_POSSIBLE
43         select SSB_PCIHOST
44         select SSB_B43_PCI_BRIDGE
45         default y
46
47 # Auto-select SSB PCICORE driver, if possible
48 config B43_PCICORE_AUTOSELECT
49         bool
50         depends on B43 && SSB_DRIVER_PCICORE_POSSIBLE
51         select SSB_DRIVER_PCICORE
52         default y
53
54 config B43_PCMCIA
55         bool "Broadcom 43xx PCMCIA device support"
56         depends on B43 && SSB_PCMCIAHOST_POSSIBLE
57         select SSB_PCMCIAHOST
58         ---help---
59           Broadcom 43xx PCMCIA device support.
60
61           Support for 16bit PCMCIA devices.
62           Please note that most PC-CARD devices are _NOT_ 16bit PCMCIA
63           devices, but 32bit CardBUS devices. CardBUS devices are supported
64           out of the box by b43.
65
66           With this config option you can drive b43 cards in
67           CompactFlash formfactor in a PCMCIA adaptor.
68           CF b43 cards can sometimes be found in handheld PCs.
69
70           It's safe to select Y here, even if you don't have a B43 PCMCIA device.
71
72           If unsure, say N.
73
74 config B43_SDIO
75         bool "Broadcom 43xx SDIO device support (EXPERIMENTAL)"
76         depends on B43 && SSB_SDIOHOST_POSSIBLE && EXPERIMENTAL
77         select SSB_SDIOHOST
78         ---help---
79           Broadcom 43xx device support for Soft-MAC SDIO devices.
80
81           With this config option you can drive Soft-MAC b43 cards with a
82           Secure Digital I/O interface.
83           This includes the WLAN daughter card found on the Nintendo Wii
84           video game console.
85           Note that this does not support Broadcom 43xx Full-MAC devices.
86
87           It's safe to select Y here, even if you don't have a B43 SDIO device.
88
89           If unsure, say N.
90
91 #Data transfers to the device via PIO. We want it as a fallback even
92 # if we can do DMA.
93 config B43_BCMA_PIO
94         bool
95         depends on B43_BCMA
96         select BCMA_BLOCKIO
97         default y
98
99 config B43_PIO
100         bool
101         depends on B43
102         select SSB_BLOCKIO
103         default y
104
105 config B43_PHY_N
106         bool "Support for 802.11n (N-PHY) devices (EXPERIMENTAL)"
107         depends on B43 && EXPERIMENTAL
108         ---help---
109           Support for the N-PHY.
110
111           This enables support for devices with N-PHY.
112
113           Say N if you expect high stability and performance. Saying Y will not
114           affect other devices support and may provide support for basic needs.
115
116 config B43_PHY_LP
117         bool "Support for low-power (LP-PHY) devices (EXPERIMENTAL)"
118         depends on B43 && EXPERIMENTAL
119         default y
120         ---help---
121           Support for the LP-PHY.
122           The LP-PHY is a low-power PHY built into some notebooks
123           and embedded devices. It supports 802.11a/g
124           (802.11a support is optional, and currently disabled).
125
126 config B43_PHY_HT
127         bool "Support for HT-PHY devices (BROKEN)"
128         depends on B43 && BROKEN
129         ---help---
130           Support for the HT-PHY.
131
132           Say N, this is BROKEN and crashes driver.
133
134 config B43_PHY_LCN
135         bool "Support for LCN-PHY devices (BROKEN)"
136         depends on B43 && BROKEN
137         ---help---
138           Support for the LCN-PHY.
139
140           Say N, this is BROKEN and crashes driver.
141
142 # This config option automatically enables b43 LEDS support,
143 # if it's possible.
144 config B43_LEDS
145         bool
146         depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
147         default y
148
149 # This config option automatically enables b43 HW-RNG support,
150 # if the HW-RNG core is enabled.
151 config B43_HWRNG
152         bool
153         depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)
154         default y
155
156 config B43_DEBUG
157         bool "Broadcom 43xx debugging"
158         depends on B43
159         ---help---
160           Broadcom 43xx debugging.
161
162           This adds additional runtime sanity checks and statistics to the driver.
163           These checks and statistics might me expensive and hurt runtime performance
164           of your system.
165           This also adds the b43 debugfs interface.
166
167           Do not enable this, unless you are debugging the driver.
168
169           Say N, if you are a distributor or user building a release kernel
170           for production use.
171           Only say Y, if you are debugging a problem in the b43 driver sourcecode.
172
173 config B43_FORCE_PIO
174         bool "Force usage of PIO instead of DMA"
175         depends on B43 && B43_DEBUG
176         ---help---
177           This will disable DMA and always enable PIO instead.
178
179           Say N!
180           This is only for debugging the PIO engine code. You do
181           _NOT_ want to enable this.