diff options
author | Michael Buesch <mbuesch@freenet.de> | 2006-02-12 10:47:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 11:18:32 -0500 |
commit | 77db31ea4322f2dd12dc814d6664ae96517604c0 (patch) | |
tree | 358519550cf715249ba836d06eb651d1fdf86079 /drivers/net/wireless/bcm43xx/Kconfig | |
parent | 5c57807afcc28a6b8fb579ef2c79e49f0b688425 (diff) |
[PATCH] bcm43xx: Partially fix PIO code. Add Kconfig option for PIO or DMA mode (or both).
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/Kconfig')
-rw-r--r-- | drivers/net/wireless/bcm43xx/Kconfig | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/Kconfig b/drivers/net/wireless/bcm43xx/Kconfig new file mode 100644 index 000000000000..d8d23155ee3c --- /dev/null +++ b/drivers/net/wireless/bcm43xx/Kconfig | |||
@@ -0,0 +1,57 @@ | |||
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 | ||
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 | Only use PIO, if DMA does not work for you. | ||
56 | |||
57 | endchoice | ||