-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[B43LEGACY]: add mac80211-based driver for legacy BCM43xx devices
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Larry Finger
authored and
David S. Miller
committed
Oct 10, 2007
1 parent
e4d6b79
commit 75388ac
Showing
26 changed files
with
14,848 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
config B43LEGACY | ||
tristate "Broadcom 43xx-legacy wireless support (mac80211 stack)" | ||
depends on SSB_POSSIBLE && MAC80211 && WLAN_80211 | ||
select SSB | ||
select FW_LOADER | ||
select HW_RANDOM | ||
---help--- | ||
b43legacy is a driver for 802.11b devices from Broadcom (BCM4301 and | ||
BCM4303) and early model 802.11g chips (BCM4306 Ver. 2) used in the | ||
Linksys WPC54G V1 PCMCIA devices. | ||
|
||
Newer 802.11g and 802.11a devices need b43. | ||
|
||
It is safe to include both b43 and b43legacy as the underlying glue | ||
layer will automatically load the correct version for your device. | ||
|
||
This driver uses V3 firmware, which must be installed separately using | ||
b43-fwcutter. | ||
|
||
This driver can be built as a module (recommended) that will be | ||
called "b43legacy". If unsure, say M. | ||
|
||
# Auto-select SSB PCI-HOST support, if possible | ||
config B43LEGACY_PCI_AUTOSELECT | ||
bool | ||
depends on B43LEGACY && SSB_PCIHOST_POSSIBLE | ||
select SSB_PCIHOST | ||
default y | ||
|
||
# Auto-select SSB PCICORE driver, if possible | ||
config B43LEGACY_PCICORE_AUTOSELECT | ||
bool | ||
depends on B43LEGACY && SSB_DRIVER_PCICORE_POSSIBLE | ||
select SSB_DRIVER_PCICORE | ||
default y | ||
|
||
config B43LEGACY_DEBUG | ||
bool "Broadcom 43xx-legacy debugging" | ||
depends on B43LEGACY | ||
default y | ||
---help--- | ||
Say Y, because this information will help you get the driver running. | ||
This option generates a minimum of log output. | ||
|
||
config B43LEGACY_DMA | ||
bool | ||
depends on B43LEGACY | ||
|
||
config B43LEGACY_PIO | ||
bool | ||
depends on B43LEGACY | ||
|
||
choice | ||
prompt "Broadcom 43xx-legacy data transfer mode" | ||
depends on B43LEGACY | ||
default B43LEGACY_DMA_AND_PIO_MODE | ||
|
||
config B43LEGACY_DMA_AND_PIO_MODE | ||
bool "DMA + PIO" | ||
select B43LEGACY_DMA | ||
select B43LEGACY_PIO | ||
---help--- | ||
Include both, Direct Memory Access (DMA) and Programmed I/O (PIO) | ||
data transfer modes. The mode actually used is selectable through | ||
the module parameter "pio". With pio=0 as a module parameter, the | ||
default DMA is used, otherwise PIO is used. | ||
|
||
If unsure, choose this option. | ||
|
||
config B43LEGACY_DMA_MODE | ||
bool "DMA (Direct Memory Access) only" | ||
select B43LEGACY_DMA | ||
---help--- | ||
Only include Direct Memory Access (DMA). | ||
This reduces the size of the driver module, by omitting the PIO code. | ||
|
||
config B43LEGACY_PIO_MODE | ||
bool "PIO (Programmed I/O) only" | ||
select B43LEGACY_PIO | ||
---help--- | ||
Only include Programmed I/O (PIO). | ||
This reduces the size of the driver module, by omitting the DMA code. | ||
Please note that PIO transfers are slow (compared to DMA). | ||
|
||
Also note that not all devices of the b43legacy series support PIO. | ||
|
||
You should use PIO only if DMA does not work for you. | ||
|
||
endchoice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
obj-$(CONFIG_B43LEGACY) += b43legacy.o | ||
b43legacy-obj-$(CONFIG_B43LEGACY_DEBUG) += debugfs.o | ||
|
||
b43legacy-obj-$(CONFIG_B43LEGACY_DMA) += dma.o | ||
b43legacy-obj-$(CONFIG_B43LEGACY_PIO) += pio.o | ||
|
||
b43legacy-objs := main.o \ | ||
ilt.o \ | ||
leds.o \ | ||
phy.o \ | ||
radio.o \ | ||
sysfs.o \ | ||
xmit.o \ | ||
$(b43legacy-obj-y) |
Oops, something went wrong.