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