Merge branch 'linux-2.6'
[sfrench/cifs-2.6.git] / drivers / net / wireless / bcm43xx / Kconfig
1 config BCM43XX
2         tristate "Broadcom BCM43xx wireless support (DEPRECATED)"
3         depends on PCI && IEEE80211 && IEEE80211_SOFTMAC && WLAN_80211 && EXPERIMENTAL
4         select WIRELESS_EXT
5         select FW_LOADER
6         select HW_RANDOM
7         ---help---
8           This is an experimental driver for the Broadcom 43xx wireless
9           chip, found in the Apple Airport Extreme and various other
10           devices.  This driver is deprecated and will be removed
11           from the kernel in the near future.  It has been replaced
12           by the b43 and b43legacy drivers.
13
14 config BCM43XX_DEBUG
15         bool "Broadcom BCM43xx debugging (RECOMMENDED)"
16         depends on BCM43XX
17         default y
18         ---help---
19           Broadcom 43xx debugging messages.
20           Say Y, because the driver is still very experimental and
21           this will help you get it running.
22
23 config BCM43XX_DMA
24         bool
25         depends on BCM43XX
26
27 config BCM43XX_PIO
28         bool
29         depends on BCM43XX
30
31 choice
32         prompt "BCM43xx data transfer mode"
33         depends on BCM43XX
34         default BCM43XX_DMA_AND_PIO_MODE
35
36 config BCM43XX_DMA_AND_PIO_MODE
37         bool "DMA + PIO"
38         select BCM43XX_DMA
39         select BCM43XX_PIO
40         ---help---
41           Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
42           data transfer modes.
43           The actually used mode is selectable through the module
44           parameter "pio". If the module parameter is pio=0, DMA is used.
45           Otherwise PIO is used. DMA is default.
46
47           If unsure, choose this option.
48
49 config BCM43XX_DMA_MODE
50         bool "DMA (Direct Memory Access) only"
51         select BCM43XX_DMA
52         ---help---
53           Only include Direct Memory Access (DMA).
54           This reduces the size of the driver module, by omitting the PIO code.
55
56 config BCM43XX_PIO_MODE
57         bool "PIO (Programmed I/O) only"
58         select BCM43XX_PIO
59         ---help---
60           Only include Programmed I/O (PIO).
61           This reduces the size of the driver module, by omitting the DMA code.
62           Please note that PIO transfers are slow (compared to DMA).
63
64           Also note that not all devices of the 43xx series support PIO.
65           The 4306 (Apple Airport Extreme and others) supports PIO, while
66           the 4318 is known to _not_ support PIO.
67
68           Only use PIO, if DMA does not work for you.
69
70 endchoice