Cc: Haavard Skinnemoen <hskinnemoen@...>, <linux-kernel@...>, Shannon Nelson <shannon.nelson@...>, David Brownell <david-b@...>, <kernel@...>, Francis Moreau <francis.moro@...>, Paul Mundt <lethal@...>, Vladimir A. Barinov <vbarinov@...>, Pierre Ossman <drzeus-list@...>
On Feb 15, 2008 2:53 AM, Haavard Skinnemoen
<hskinnemoen@norway.atmel.com> wrote:
I like the direction of the patch, i.e. splitting out separate
functionality into separate structs. However, I do not want to break
the model of clients sourcing the operations and drivers sinking them
which dma_slave_descriptor appears to do. How about adding a
scatterlist pointer and an 'unmap_type' to the common descriptor?
Where unmap_type selects between, page, single, sg, or no-unmap.
Drivers already know the length and direction.
Regards,
Dan
--