Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[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 config BCM43XX_PIO
21         bool
22
23 choice
24         prompt "BCM43xx data transfer mode"
25         depends on BCM43XX
26         default BCM43XX_DMA_AND_PIO_MODE
27
28 config BCM43XX_DMA_AND_PIO_MODE
29         bool "DMA + PIO"
30         select BCM43XX_DMA
31         select BCM43XX_PIO
32         ---help---
33           Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
34           data transfer modes.
35           The actually used mode is selectable through the module
36           parameter "pio". If the module parameter is pio=0, DMA is used.
37           Otherwise PIO is used. DMA is default.
38
39           If unsure, choose this option.
40
41 config BCM43XX_DMA_MODE
42         bool "DMA (Direct Memory Access) only"
43         select BCM43XX_DMA
44         ---help---
45           Only include Direct Memory Access (DMA).
46           This reduces the size of the driver module, by omitting the PIO code.
47
48 config BCM43XX_PIO_MODE
49         bool "PIO (Programmed I/O) only"
50         select BCM43XX_PIO
51         ---help---
52           Only include Programmed I/O (PIO).
53           This reduces the size of the driver module, by omitting the DMA code.
54           Please note that PIO transfers are slow (compared to DMA).
55
56           Also note that not all devices of the 43xx series support PIO.
57           The 4306 (Apple Airport Extreme and others) supports PIO, while
58           the 4318 is known to _not_ support PIO.
59
60           Only use PIO, if DMA does not work for you.
61
62 endchoice