7e23ec23fc98b9b26d2a02d6b1f4f53c3bed5d05
[pandora-kernel.git] / drivers / net / wireless / b43legacy / Kconfig
1 config B43LEGACY
2         tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)"
3         depends on SSB_POSSIBLE && MAC80211 && WLAN_80211
4         select SSB
5         select FW_LOADER
6         select HW_RANDOM
7         ---help---
8           b43legacy is a driver for 802.11b devices from Broadcom (BCM4301 and
9           BCM4303) and early model 802.11g chips (BCM4306 Ver. 2) used in the
10           Linksys WPC54G V1 PCMCIA devices.
11
12           Newer 802.11g and 802.11a devices need b43.
13
14           It is safe to include both b43 and b43legacy as the underlying glue
15           layer will automatically load the correct version for your device.
16
17           This driver uses V3 firmware, which must be installed separately using
18           b43-fwcutter.
19
20           This driver can be built as a module (recommended) that will be
21           called "b43legacy". If unsure, say M.
22
23 # Auto-select SSB PCI-HOST support, if possible
24 config B43LEGACY_PCI_AUTOSELECT
25         bool
26         depends on B43LEGACY && SSB_PCIHOST_POSSIBLE
27         select SSB_PCIHOST
28         default y
29
30 # Auto-select SSB PCICORE driver, if possible
31 config B43LEGACY_PCICORE_AUTOSELECT
32         bool
33         depends on B43LEGACY && SSB_DRIVER_PCICORE_POSSIBLE
34         select SSB_DRIVER_PCICORE
35         default y
36
37 config B43LEGACY_DEBUG
38         bool "Broadcom 43xx-legacy debugging"
39         depends on B43LEGACY
40         default y
41         ---help---
42           Say Y, because this information will help you get the driver running.
43           This option generates a minimum of log output.
44
45 config B43LEGACY_DMA
46         bool
47         depends on B43LEGACY
48
49 config B43LEGACY_PIO
50         bool
51         depends on B43LEGACY
52
53 choice
54         prompt "Broadcom 43xx-legacy data transfer mode"
55         depends on B43LEGACY
56         default B43LEGACY_DMA_AND_PIO_MODE
57
58 config B43LEGACY_DMA_AND_PIO_MODE
59         bool "DMA + PIO"
60         select B43LEGACY_DMA
61         select B43LEGACY_PIO
62         ---help---
63           Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
64           data transfer modes. The mode actually used is selectable through
65           the module parameter "pio". With pio=0 as a module parameter, the
66           default DMA is used, otherwise PIO is used.
67
68           If unsure, choose this option.
69
70 config B43LEGACY_DMA_MODE
71         bool "DMA (Direct Memory Access) only"
72         select B43LEGACY_DMA
73         ---help---
74           Only include Direct Memory Access (DMA).
75           This reduces the size of the driver module, by omitting the PIO code.
76
77 config B43LEGACY_PIO_MODE
78         bool "PIO (Programmed I/O) only"
79         select B43LEGACY_PIO
80         ---help---
81           Only include Programmed I/O (PIO).
82           This reduces the size of the driver module, by omitting the DMA code.
83           Please note that PIO transfers are slow (compared to DMA).
84
85           Also note that not all devices of the b43legacy series support PIO.
86
87           You should use PIO only if DMA does not work for you.
88
89 endchoice