blob: d4f628a74bbd47e07a2d058e9426c750c6c2f7e7 [file] [log] [blame]
Larry Finger75388ac2007-09-25 16:46:54 -07001config B43LEGACY
2 tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)"
Al Viro46cb69c2008-05-21 06:32:11 +01003 depends on SSB_POSSIBLE && MAC80211 && WLAN_80211 && HAS_DMA
Larry Finger75388ac2007-09-25 16:46:54 -07004 select SSB
5 select FW_LOADER
Larry Finger75388ac2007-09-25 16:46:54 -07006 ---help---
7 b43legacy is a driver for 802.11b devices from Broadcom (BCM4301 and
8 BCM4303) and early model 802.11g chips (BCM4306 Ver. 2) used in the
9 Linksys WPC54G V1 PCMCIA devices.
10
11 Newer 802.11g and 802.11a devices need b43.
12
13 It is safe to include both b43 and b43legacy as the underlying glue
14 layer will automatically load the correct version for your device.
15
16 This driver uses V3 firmware, which must be installed separately using
17 b43-fwcutter.
18
19 This driver can be built as a module (recommended) that will be
20 called "b43legacy". If unsure, say M.
21
22# Auto-select SSB PCI-HOST support, if possible
23config B43LEGACY_PCI_AUTOSELECT
24 bool
25 depends on B43LEGACY && SSB_PCIHOST_POSSIBLE
26 select SSB_PCIHOST
Alexey Zaytsevc7084532008-02-23 12:59:26 +030027 select SSB_B43_PCI_BRIDGE
Larry Finger75388ac2007-09-25 16:46:54 -070028 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
Stefano Brivio59f1b152007-11-08 00:28:00 +010038# This config option automatically enables b43legacy LEDS support,
39# if it's possible.
Larry Fingerba48f7b2007-10-12 23:04:51 -050040config B43LEGACY_LEDS
41 bool
Stefano Brivio59f1b152007-11-08 00:28:00 +010042 depends on B43LEGACY && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43LEGACY)
Larry Finger93bb7f32007-10-10 22:44:22 -050043 default y
44
45# RFKILL support
Stefano Brivio59f1b152007-11-08 00:28:00 +010046# This config option automatically enables b43legacy RFKILL support,
47# if it's possible.
Larry Finger93bb7f32007-10-10 22:44:22 -050048config B43LEGACY_RFKILL
49 bool
Stefano Brivio59f1b152007-11-08 00:28:00 +010050 depends on B43LEGACY && (RFKILL = y || RFKILL = B43LEGACY) && RFKILL_INPUT && (INPUT_POLLDEV = y || INPUT_POLLDEV = B43LEGACY)
Larry Fingerba48f7b2007-10-12 23:04:51 -050051 default y
52
Larry Finger910cfee2009-04-01 10:42:36 -050053# This config option automatically enables b43 HW-RNG support,
54# if the HW-RNG core is enabled.
55config B43LEGACY_HWRNG
56 bool
57 depends on B43LEGACY && (HW_RANDOM = y || HW_RANDOM = B43LEGACY)
58 default y
59
Larry Finger75388ac2007-09-25 16:46:54 -070060config B43LEGACY_DEBUG
61 bool "Broadcom 43xx-legacy debugging"
62 depends on B43LEGACY
63 default y
64 ---help---
65 Say Y, because this information will help you get the driver running.
66 This option generates a minimum of log output.
67
68config B43LEGACY_DMA
69 bool
70 depends on B43LEGACY
71
72config B43LEGACY_PIO
73 bool
74 depends on B43LEGACY
75
76choice
77 prompt "Broadcom 43xx-legacy data transfer mode"
78 depends on B43LEGACY
79 default B43LEGACY_DMA_AND_PIO_MODE
80
81config B43LEGACY_DMA_AND_PIO_MODE
82 bool "DMA + PIO"
83 select B43LEGACY_DMA
84 select B43LEGACY_PIO
85 ---help---
86 Include both, Direct Memory Access (DMA) and Programmed I/O (PIO)
87 data transfer modes. The mode actually used is selectable through
88 the module parameter "pio". With pio=0 as a module parameter, the
89 default DMA is used, otherwise PIO is used.
90
91 If unsure, choose this option.
92
93config B43LEGACY_DMA_MODE
94 bool "DMA (Direct Memory Access) only"
95 select B43LEGACY_DMA
96 ---help---
97 Only include Direct Memory Access (DMA).
98 This reduces the size of the driver module, by omitting the PIO code.
99
100config B43LEGACY_PIO_MODE
101 bool "PIO (Programmed I/O) only"
102 select B43LEGACY_PIO
103 ---help---
104 Only include Programmed I/O (PIO).
105 This reduces the size of the driver module, by omitting the DMA code.
106 Please note that PIO transfers are slow (compared to DMA).
107
108 Also note that not all devices of the b43legacy series support PIO.
109
110 You should use PIO only if DMA does not work for you.
111
112endchoice