[lkml]   [2008]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/2] Add device_prep_dma_interrupt support to fsldma.c
On Tue, Mar 11, 2008 at 7:28 PM, Zhang Wei <> wrote:
> But I have a question about device_prep_dma_interrupt(), which is no way to assign
> dest and src address. Is it a null tx action dma_async_tx_descriptor except to trigger
> an interrupt?

Yes, it is for sequences where we are scheduling a chain of operations
of indeterminate length and want a callback after they all complete.
See ops_run_biofill() in drivers/md/raid5.c for an example.

> Thanks!
> Wei.


 \ /
  Last update: 2008-03-12 17:41    [W:0.231 / U:1.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site