Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[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 && HAS_DMA
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         select SSB_B43_PCI_BRIDGE
29         default y
30
31 # Auto-select SSB PCICORE driver, if possible
32 config B43LEGACY_PCICORE_AUTOSELECT
33         bool
34         depends on B43LEGACY && SSB_DRIVER_PCICORE_POSSIBLE
35         select SSB_DRIVER_PCICORE
36         default y
37
38 # LED support
39 # This config option automatically enables b43legacy LEDS support,
40 # if it's possible.
41 config B43LEGACY_LEDS
42         bool
43         depends on B43LEGACY && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43LEGACY)
44         default y
45
46 # RFKILL support
47 # This config option automatically enables b43legacy RFKILL support,
48 # if it's possible.
49 config B43LEGACY_RFKILL
50         bool
51         depends on B43LEGACY && (RFKILL = y || RFKILL = B43LEGACY) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43LEGACY)
52         default y
53
54 config B43LEGACY_DEBUG
55         bool "Broadcom 43xx-legacy debugging"
56         depends on B43LEGACY
57         default y
58         ---help---
59           Say Y, because this information will help you get the driver running.
60           This option generates a minimum of log output.
61
62 config B43LEGACY_DMA
63         bool
64         depends on B43LEGACY
65
66 config B43LEGACY_PIO
67         bool
68         depends on B43LEGACY
69
70 choice
71         prompt "Broadcom 43xx-legacy data transfer mode"
72         depends on B43LEGACY
73         default B43LEGACY_DMA_AND_PIO_MODE
74
75 config B43LEGACY_DMA_AND_PIO_MODE
76         bool "DMA + PIO"
77         select B43LEGACY_DMA
78         select B43LEGACY_PIO
79         ---help---
80           Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
81           data transfer modes. The mode actually used is selectable through
82           the module parameter "pio". With pio=0 as a module parameter, the
83           default DMA is used, otherwise PIO is used.
84
85           If unsure, choose this option.
86
87 config B43LEGACY_DMA_MODE
88         bool "DMA (Direct Memory Access) only"
89         select B43LEGACY_DMA
90         ---help---
91           Only include Direct Memory Access (DMA).
92           This reduces the size of the driver module, by omitting the PIO code.
93
94 config B43LEGACY_PIO_MODE
95         bool "PIO (Programmed I/O) only"
96         select B43LEGACY_PIO
97         ---help---
98           Only include Programmed I/O (PIO).
99           This reduces the size of the driver module, by omitting the DMA code.
100           Please note that PIO transfers are slow (compared to DMA).
101
102           Also note that not all devices of the b43legacy series support PIO.
103
104           You should use PIO only if DMA does not work for you.
105
106 endchoice