rfkill: rewrite
[linux-flexiantxendom0-natty.git] / drivers / net / wireless / b43 / Kconfig
1 config B43
2         tristate "Broadcom 43xx wireless support (mac80211 stack)"
3         depends on SSB_POSSIBLE && MAC80211 && WLAN_80211 && 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 (EXPERIMENTAL)"
46         depends on B43 && SSB_PCMCIAHOST_POSSIBLE && EXPERIMENTAL
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 # Data transfers to the device via PIO
65 # This is only needed on PCMCIA devices. All others can do DMA properly.
66 config B43_PIO
67         bool
68         depends on B43 && (B43_PCMCIA || B43_FORCE_PIO)
69         select SSB_BLOCKIO
70         default y
71
72 config B43_NPHY
73         bool "Pre IEEE 802.11n support (BROKEN)"
74         depends on B43 && EXPERIMENTAL && BROKEN
75         ---help---
76           Support for the IEEE 802.11n draft.
77
78           THIS IS BROKEN AND DOES NOT WORK YET.
79
80           SAY N.
81
82 config B43_PHY_LP
83         bool "IEEE 802.11g LP-PHY support (BROKEN)"
84         depends on B43 && EXPERIMENTAL && BROKEN
85         ---help---
86           Support for the LP-PHY.
87           The LP-PHY is an IEEE 802.11g based PHY built into some notebooks
88           and embedded devices.
89
90           THIS IS BROKEN AND DOES NOT WORK YET.
91
92           SAY N.
93
94 # This config option automatically enables b43 LEDS support,
95 # if it's possible.
96 config B43_LEDS
97         bool
98         depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
99         default y
100
101 # This config option automatically enables b43 RFKILL support,
102 # if it's possible.
103 config B43_RFKILL
104         bool
105         depends on B43 && (RFKILL = y || RFKILL = B43)
106         default y
107
108 # This config option automatically enables b43 HW-RNG support,
109 # if the HW-RNG core is enabled.
110 config B43_HWRNG
111         bool
112         depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)
113         default y
114
115 config B43_DEBUG
116         bool "Broadcom 43xx debugging"
117         depends on B43
118         ---help---
119           Broadcom 43xx debugging.
120
121           This adds additional runtime sanity checks and statistics to the driver.
122           These checks and statistics might me expensive and hurt runtime performance
123           of your system.
124           This also adds the b43 debugfs interface.
125
126           Do not enable this, unless you are debugging the driver.
127
128           Say N, if you are a distributor or user building a release kernel
129           for production use.
130           Only say Y, if you are debugging a problem in the b43 driver sourcecode.
131
132 config B43_FORCE_PIO
133         bool "Force usage of PIO instead of DMA"
134         depends on B43 && B43_DEBUG
135         ---help---
136           This will disable DMA and always enable PIO instead.
137
138           Say N!
139           This is only for debugging the PIO engine code. You do
140           _NOT_ want to enable this.