On Thu, Dec 07, 2006 at 10:11:51AM +0000, Christoph Hellwig wrote:
On Wed, Dec 06, 2006 at 05:27:45PM -0600, Linas Vepstas wrote:
quoted
The current driver code performs 512 DMA mappings of a bunch of
32-byte structures. This is silly, as they are all in contiguous
memory. Ths patch changes the code to DMA map the entie area
with just one call.
This is still wrong. The descriptor array must be in dma_alloc_coherent
memory, not a streaming mapping. (I also think I pointed this out a while
ago when I made dma_alloc_coherent node-aware)
Sorry, I missed this the first time. I'm splitting this off now; will
resubmit shortly.
--linas