diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-12-10 18:35:01 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-28 16:31:28 -0500 |
commit | b02914af4d7020828ce921a572589dd793517c09 (patch) | |
tree | 38ffc3e54ada2aa664c2d9ab0dd7b71fab985db9 /drivers/net/wireless/b43/Kconfig | |
parent | 7dc6a7a7635365b140af969e972900866d0bf34b (diff) |
b43: Allow PIO mode to be selected at module load
If userencounter the "Fatal DMA Problem" with a BCM43XX device, and
still wish to use b43 as the driver, their only option is to rebuild
the kernel with CONFIG_B43_FORCE_PIO. This patch removes this option and
allows PIO mode to be selected with a load-time parameter for the module.
Note that the configuration variable CONFIG_B43_PIO is also removed.
Once the DMA problem with the BCM4312 devices is solved, this patch will
likely be reverted.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: John Daiker <daikerjohn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/Kconfig')
-rw-r--r-- | drivers/net/wireless/b43/Kconfig | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/net/wireless/b43/Kconfig b/drivers/net/wireless/b43/Kconfig index 64c12e1bced3..073be566d05e 100644 --- a/drivers/net/wireless/b43/Kconfig +++ b/drivers/net/wireless/b43/Kconfig | |||
@@ -3,6 +3,7 @@ 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 | ||
6 | ---help--- | 7 | ---help--- |
7 | b43 is a driver for the Broadcom 43xx series wireless devices. | 8 | b43 is a driver for the Broadcom 43xx series wireless devices. |
8 | 9 | ||
@@ -78,14 +79,6 @@ config B43_SDIO | |||
78 | 79 | ||
79 | If unsure, say N. | 80 | If unsure, say N. |
80 | 81 | ||
81 | # Data transfers to the device via PIO | ||
82 | # This is only needed on PCMCIA and SDIO devices. All others can do DMA properly. | ||
83 | config B43_PIO | ||
84 | bool | ||
85 | depends on B43 && (B43_SDIO || B43_PCMCIA || B43_FORCE_PIO) | ||
86 | select SSB_BLOCKIO | ||
87 | default y | ||
88 | |||
89 | config B43_NPHY | 82 | config B43_NPHY |
90 | bool "Pre IEEE 802.11n support (BROKEN)" | 83 | bool "Pre IEEE 802.11n support (BROKEN)" |
91 | depends on B43 && EXPERIMENTAL && BROKEN | 84 | depends on B43 && EXPERIMENTAL && BROKEN |
@@ -137,12 +130,4 @@ config B43_DEBUG | |||
137 | for production use. | 130 | for production use. |
138 | Only say Y, if you are debugging a problem in the b43 driver sourcecode. | 131 | Only say Y, if you are debugging a problem in the b43 driver sourcecode. |
139 | 132 | ||
140 | config 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. | ||
145 | 133 | ||
146 | Say N! | ||
147 | This is only for debugging the PIO engine code. You do | ||
148 | _NOT_ want to enable this. | ||