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