b43: Fix DMA for 30/32-bit DMA engines
authorMichael Buesch <mb@bu3sch.de>
Tue, 5 Feb 2008 11:50:41 +0000 (12:50 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Feb 2008 19:35:47 +0000 (14:35 -0500)
commitb79caa68c0d48477453a90d12be34b47cb75f3a8
tree103b22e57178cdfcdab2afd2fbd2d9ca45644fc7
parent532031d7f426eb02f854d13184416cabcb01bdd5
b43: Fix DMA for 30/32-bit DMA engines

This checks if the DMA address is bigger than what the controller can manage.
It will reallocate the buffers in the GFP_DMA zone in that case.

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