]> git.karo-electronics.de Git - karo-tx-linux.git/commit
b43: Workaround DMA quirks
authorMichael Buesch <mb@bu3sch.de>
Thu, 24 Apr 2008 18:06:11 +0000 (20:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 May 2008 21:44:37 +0000 (14:44 -0700)
commitbc7f6557b7d084a64236ec7fbe64383e89d94602
tree4916233b43d1a9cfcda3b8ebb44bba67e22ec996
parent952bfae3bf0b692dabc625231faa80ce467b99b2
b43: Workaround DMA quirks

commit 1033b3ea11820ea1fb1b877207bd6724e9aaedc3 upstream

Some mainboards/CPUs don't allow DMA masks bigger than a certain limit.
Some VIA crap^h^h^h^hdevices have an upper limit of 0xFFFFFFFF. So in this
case a 64-bit b43 device would always fail to acquire the mask.
Implement a workaround to fallback to lower DMA mask, as we can always
also support a lower mask.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/dma.c