[Bcm43xx-dev] 30 bits DMA and ppc

Michael Buesch mbuesch at freenet.de
Sun Oct 30 19:47:21 EST 2005

On Sunday 30 October 2005 05:03, Benjamin Herrenschmidt wrote:
> However, the above would require arch specific hacks, and would only
> work for one card in the system (too bad if you plug a cardbus one).

I think we should not need to modify the driver.
Drivers already set the DMA mask. As far as I can see, this mask
is currently (mostly) ignored on PPC and i386 (at least).
As far as I can see, PPC ignores it completely and i386 allocates in the
GFP_DMA region, if DMA is limited.
So I would say, it should be possible to use this mask
with some bounce buffers, as you suggested. That sounds like a good
solution to me. It's worth a try.

Greetings Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20051030/d3fbb689/attachment.pgp>

More information about the Linuxppc-dev mailing list