aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-02-26 13:34:27 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-02-26 17:26:16 -0500
commit9e3bd9190800e8209b4a3e1d724c35f0738dcad2 (patch)
tree6899d414c070d8a5ad6074dd146419a559ae8c14 /drivers/net/wireless/b43/Kconfig
parent0e0a228398cc967c922759be36c69d32e4f62701 (diff)
b43: fall back gracefully to PIO mode after fatal DMA errors
This makes the b43 driver just automatically fall back to PIO mode when DMA doesn't work. The driver already told the user to do it, so rather than have the user reload the module with a new flag, just make the driver do it automatically. We keep the message as an indication that something is wrong, but now just automatically fall back to the hopefully working PIO case. (Some post-2.6.33 merge fixups by Larry Finger <Larry.Finger@lwfinger.net> and yours truly... -- JWL) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/Kconfig')
-rw-r--r--drivers/net/wireless/b43/Kconfig17
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/Kconfig b/drivers/net/wireless/b43/Kconfig
index 073be566d05e..0a00d42642cd 100644
--- a/drivers/net/wireless/b43/Kconfig
+++ b/drivers/net/wireless/b43/Kconfig
@@ -3,7 +3,6 @@ config B43
3 depends on SSB_POSSIBLE && MAC80211 && HAS_DMA 3 depends on SSB_POSSIBLE && MAC80211 && HAS_DMA
4 select SSB 4 select SSB
5 select FW_LOADER 5 select FW_LOADER
6 select SSB_BLOCKIO
7 ---help--- 6 ---help---
8 b43 is a driver for the Broadcom 43xx series wireless devices. 7 b43 is a driver for the Broadcom 43xx series wireless devices.
9 8
@@ -79,6 +78,14 @@ config B43_SDIO
79 78
80 If unsure, say N. 79 If unsure, say N.
81 80
81#Data transfers to the device via PIO. We want it as a fallback even
82# if we can do DMA.
83config B43_PIO
84 bool
85 depends on B43
86 select SSB_BLOCKIO
87 default y
88
82config B43_NPHY 89config B43_NPHY
83 bool "Pre IEEE 802.11n support (BROKEN)" 90 bool "Pre IEEE 802.11n support (BROKEN)"
84 depends on B43 && EXPERIMENTAL && BROKEN 91 depends on B43 && EXPERIMENTAL && BROKEN
@@ -130,4 +137,12 @@ config B43_DEBUG
130 for production use. 137 for production use.
131 Only say Y, if you are debugging a problem in the b43 driver sourcecode. 138 Only say Y, if you are debugging a problem in the b43 driver sourcecode.
132 139
140config B43_FORCE_PIO
141 bool "Force usage of PIO instead of DMA"
142 depends on B43 && B43_DEBUG
143 ---help---
144 This will disable DMA and always enable PIO instead.
133 145
146 Say N!
147 This is only for debugging the PIO engine code. You do
148 _NOT_ want to enable this.