]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43: fall back gracefully to PIO mode after fatal DMA errors
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2010 18:34:27 +0000 (10:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:48:01 +0000 (07:48 -0700)
commit9a4caec9cf9c1d95e4a59974de6d9c2797bb117f
tree6bb0a55c81da26dd21f20a109136551c4cd683ec
parentca18b87fd44231563f72c598c169c147b9a899c3
b43: fall back gracefully to PIO mode after fatal DMA errors

commit 9e3bd9190800e8209b4a3e1d724c35f0738dcad2 upstream.

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>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/b43/Kconfig
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/main.c