add b43
[openwrt/staging/mkresin.git] / package / b43 / src / Kconfig
1 config B43
2 tristate "Broadcom 43xx wireless support (mac80211 stack)"
3 depends on SSB_POSSIBLE && MAC80211 && WLAN_80211
4 select SSB
5 select FW_LOADER
6 select HW_RANDOM
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 # Auto-select SSB PCI-HOST support, if possible
31 config B43_PCI_AUTOSELECT
32 bool
33 depends on B43 && SSB_PCIHOST_POSSIBLE
34 select SSB_PCIHOST
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 # LED support
65 config B43_LEDS
66 bool
67 depends on B43 && MAC80211_LEDS
68 default y
69
70 # RFKILL support
71 config B43_RFKILL
72 bool
73 depends on B43 && RFKILL && RFKILL_INPUT && INPUT_POLLDEV
74 default y
75
76 config B43_DEBUG
77 bool "Broadcom 43xx debugging"
78 depends on B43
79 ---help---
80 Broadcom 43xx debugging messages.
81
82 Say Y, if you want to find out why the driver does not
83 work for you.
84
85 config B43_DMA
86 bool
87 depends on B43
88 config B43_PIO
89 bool
90 depends on B43
91
92 choice
93 prompt "Broadcom 43xx data transfer mode"
94 depends on B43
95 default B43_DMA_AND_PIO_MODE
96
97 config B43_DMA_AND_PIO_MODE
98 bool "DMA + PIO"
99 select B43_DMA
100 select B43_PIO
101 ---help---
102 Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
103 data transfer modes.
104 The actually used mode is selectable through the module
105 parameter "pio". If the module parameter is pio=0, DMA is used.
106 Otherwise PIO is used. DMA is default.
107
108 If unsure, choose this option.
109
110 config B43_DMA_MODE
111 bool "DMA (Direct Memory Access) only"
112 select B43_DMA
113 ---help---
114 Only include Direct Memory Access (DMA).
115 This reduces the size of the driver module, by omitting the PIO code.
116
117 config B43_PIO_MODE
118 bool "PIO (Programmed I/O) only"
119 select B43_PIO
120 ---help---
121 Only include Programmed I/O (PIO).
122 This reduces the size of the driver module, by omitting the DMA code.
123 Please note that PIO transfers are slow (compared to DMA).
124
125 Also note that not all devices of the 43xx series support PIO.
126 The 4306 (Apple Airport Extreme and others) supports PIO, while
127 the 4318 is known to _not_ support PIO.
128
129 Only use PIO, if DMA does not work for you.
130
131 endchoice