b43: Allow PIO mode to be selected at module load
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 10 Dec 2009 23:35:01 +0000 (17:35 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:28 +0000 (16:31 -0500)
commitb02914af4d7020828ce921a572589dd793517c09
tree38ffc3e54ada2aa664c2d9ab0dd7b71fab985db9
parent7dc6a7a7635365b140af969e972900866d0bf34b
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>
drivers/net/wireless/b43/Kconfig
drivers/net/wireless/b43/Makefile
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/dma.c
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43/pio.h