b43: bus: abstract R/W operations
[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 # Auto-select SSB PCI-HOST support, if possible
30 config B43_PCI_AUTOSELECT
31         bool
32         depends on B43 && SSB_PCIHOST_POSSIBLE
33         select SSB_PCIHOST
34         select SSB_B43_PCI_BRIDGE
35         default y
36
37 # Auto-select SSB PCICORE driver, if possible
38 config B43_PCICORE_AUTOSELECT
39         bool
40         depends on B43 && SSB_DRIVER_PCICORE_POSSIBLE
41         select SSB_DRIVER_PCICORE
42         default y
43
44 config B43_PCMCIA
45         bool "Broadcom 43xx PCMCIA device support"
46         depends on B43 && SSB_PCMCIAHOST_POSSIBLE
47         select SSB_PCMCIAHOST
48         ---help---
49           Broadcom 43xx PCMCIA device support.
50
51           Support for 16bit PCMCIA devices.
52           Please note that most PC-CARD devices are _NOT_ 16bit PCMCIA
53           devices, but 32bit CardBUS devices. CardBUS devices are supported
54           out of the box by b43.
55
56           With this config option you can drive b43 cards in
57           CompactFlash formfactor in a PCMCIA adaptor.
58           CF b43 cards can sometimes be found in handheld PCs.
59
60           It's safe to select Y here, even if you don't have a B43 PCMCIA device.
61
62           If unsure, say N.
63
64 config B43_SDIO
65         bool "Broadcom 43xx SDIO device support (EXPERIMENTAL)"
66         depends on B43 && SSB_SDIOHOST_POSSIBLE && EXPERIMENTAL
67         select SSB_SDIOHOST
68         ---help---
69           Broadcom 43xx device support for Soft-MAC SDIO devices.
70
71           With this config option you can drive Soft-MAC b43 cards with a
72           Secure Digital I/O interface.
73           This includes the WLAN daughter card found on the Nintendo Wii
74           video game console.
75           Note that this does not support Broadcom 43xx Full-MAC devices.
76
77           It's safe to select Y here, even if you don't have a B43 SDIO device.
78
79           If unsure, say N.
80
81 #Data transfers to the device via PIO. We want it as a fallback even
82 # if we can do DMA.
83 config B43_PIO
84         bool
85         depends on B43
86         select SSB_BLOCKIO
87         default y
88
89 config B43_PHY_N
90         bool "Support for 802.11n (N-PHY) devices (EXPERIMENTAL)"
91         depends on B43 && EXPERIMENTAL
92         ---help---
93           Support for the N-PHY.
94
95           This enables support for devices with N-PHY.
96
97           Say N if you expect high stability and performance. Saying Y will not
98           affect other devices support and may provide support for basic needs.
99
100 config B43_PHY_LP
101         bool "Support for low-power (LP-PHY) devices (EXPERIMENTAL)"
102         depends on B43 && EXPERIMENTAL
103         default y
104         ---help---
105           Support for the LP-PHY.
106           The LP-PHY is a low-power PHY built into some notebooks
107           and embedded devices. It supports 802.11a/g
108           (802.11a support is optional, and currently disabled).
109
110 # This config option automatically enables b43 LEDS support,
111 # if it's possible.
112 config B43_LEDS
113         bool
114         depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
115         default y
116
117 # This config option automatically enables b43 HW-RNG support,
118 # if the HW-RNG core is enabled.
119 config B43_HWRNG
120         bool
121         depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)
122         default y
123
124 config B43_DEBUG
125         bool "Broadcom 43xx debugging"
126         depends on B43
127         ---help---
128           Broadcom 43xx debugging.
129
130           This adds additional runtime sanity checks and statistics to the driver.
131           These checks and statistics might me expensive and hurt runtime performance
132           of your system.
133           This also adds the b43 debugfs interface.
134
135           Do not enable this, unless you are debugging the driver.
136
137           Say N, if you are a distributor or user building a release kernel
138           for production use.
139           Only say Y, if you are debugging a problem in the b43 driver sourcecode.
140
141 config B43_FORCE_PIO
142         bool "Force usage of PIO instead of DMA"
143         depends on B43 && B43_DEBUG
144         ---help---
145           This will disable DMA and always enable PIO instead.
146
147           Say N!
148           This is only for debugging the PIO engine code. You do
149           _NOT_ want to enable this.