[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e9c3a7c20803120938w1d10da4bk33a0376e90fe9e61@mail.gmail.com>
Date: Wed, 12 Mar 2008 09:38:45 -0700
From: "Dan Williams" <dan.j.williams@...el.com>
To: "Zhang Wei" <Wei.Zhang@...escale.com>
Cc: linux-kernel@...r.kernel.org
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@...escale.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists