Messages in this thread | | | Date | Wed, 12 Mar 2008 09:38:45 -0700 | From | "Dan Williams" <> | Subject | Re: [PATCH 2/2] Add device_prep_dma_interrupt support to fsldma.c |
| |
On Tue, Mar 11, 2008 at 7:28 PM, Zhang Wei <Wei.Zhang@freescale.com> 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.
-- Dan
| |