<br><br><div class="gmail_quote">2011/8/16 Rafał Miłecki <span dir="ltr"><<a href="mailto:zajec5@gmail.com">zajec5@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
We have resolved all the known issues with DMA mode, however some users<br>
(or distros) are still forcing PIO mode by config files. Without<br>
debugging enabled it's not noticable at all. Add the warning for them.<br>
<br>
Signed-off-by: Rafał Miłecki <<a href="mailto:zajec5@gmail.com">zajec5@gmail.com</a>><br>
---<br>
drivers/net/wireless/b43/main.c | 9 +++++++--<br>
1 files changed, 7 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c<br>
index 1adadc8..e0b1156 100644<br>
--- a/drivers/net/wireless/b43/main.c<br>
+++ b/drivers/net/wireless/b43/main.c<br>
@@ -4636,8 +4636,13 @@ static int b43_wireless_core_init(struct b43_wldev *dev)<br>
b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MAXCONT, 0x3FF);<br>
<br>
if (b43_bus_host_is_pcmcia(dev->dev) ||<br>
- b43_bus_host_is_sdio(dev->dev) ||<br>
- dev->use_pio) {<br>
+ b43_bus_host_is_sdio(dev->dev)) {<br>
+ dev->__using_pio_transfers = 1;<br>
+ err = b43_pio_init(dev);<br>
+ } else if (dev->use_pio) {<br>
+ b43warn(dev->wl, "Forced PIO by use_pio module paramater. "<br></blockquote><div><br>I guess you meant "parameter".<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
+ "This should not be needed and will result in lower "<br>
+ "performance.\n");<br>
dev->__using_pio_transfers = 1;<br>
err = b43_pio_init(dev);<br>
} else {<br>
<font color="#888888">--<br>
1.7.3.4</font><br></blockquote></div>