blob: 68e05f06b33f41ed1445dfd3b9b4a5f3611b05e0 [file] [log] [blame]
Larry Finger75388ac2007-09-25 16:46:54 -07001config 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
24config 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
31config B43LEGACY_PCICORE_AUTOSELECT
32 bool
33 depends on B43LEGACY && SSB_DRIVER_PCICORE_POSSIBLE
34 select SSB_DRIVER_PCICORE
35 default y
36
Larry Fingerba48f7b2007-10-12 23:04:51 -050037# LED support
38config B43LEGACY_LEDS
39 bool
Larry Finger93bb7f32007-10-10 22:44:22 -050040 depends on B43LEGACY && MAC80211_LEDS
41 default y
42
43# RFKILL support
44config B43LEGACY_RFKILL
45 bool
46 depends on B43LEGACY && RFKILL
Larry Fingerba48f7b2007-10-12 23:04:51 -050047 default y
48
Larry Finger75388ac2007-09-25 16:46:54 -070049config B43LEGACY_DEBUG
50 bool "Broadcom 43xx-legacy debugging"
51 depends on B43LEGACY
52 default y
53 ---help---
54 Say Y, because this information will help you get the driver running.
55 This option generates a minimum of log output.
56
57config B43LEGACY_DMA
58 bool
59 depends on B43LEGACY
60
61config B43LEGACY_PIO
62 bool
63 depends on B43LEGACY
64
65choice
66 prompt "Broadcom 43xx-legacy data transfer mode"
67 depends on B43LEGACY
68 default B43LEGACY_DMA_AND_PIO_MODE
69
70config B43LEGACY_DMA_AND_PIO_MODE
71 bool "DMA + PIO"
72 select B43LEGACY_DMA
73 select B43LEGACY_PIO
74 ---help---
75 Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
76 data transfer modes. The mode actually used is selectable through
77 the module parameter "pio". With pio=0 as a module parameter, the
78 default DMA is used, otherwise PIO is used.
79
80 If unsure, choose this option.
81
82config B43LEGACY_DMA_MODE
83 bool "DMA (Direct Memory Access) only"
84 select B43LEGACY_DMA
85 ---help---
86 Only include Direct Memory Access (DMA).
87 This reduces the size of the driver module, by omitting the PIO code.
88
89config B43LEGACY_PIO_MODE
90 bool "PIO (Programmed I/O) only"
91 select B43LEGACY_PIO
92 ---help---
93 Only include Programmed I/O (PIO).
94 This reduces the size of the driver module, by omitting the DMA code.
95 Please note that PIO transfers are slow (compared to DMA).
96
97 Also note that not all devices of the b43legacy series support PIO.
98
99 You should use PIO only if DMA does not work for you.
100
101endchoice