Messages in this thread |  | | | Date | Mon, 22 Sep 2008 19:41:28 -0700 | | From | Jeremy Fitzhardinge <> | | Subject | Re: [PATCH 0/9][RFC] stackable dma_ops for x86 | |
Joerg Roedel wrote:
> Its implemented using the per-device dma-ops already there. With this
> patches there is a list of available dma_ops implementations which are
> asked in a particular order if they can handle the device. The first
> implementation which returns true is assigned to the device as the
> per-device dma_ops structure.
>
> (Hmm, maybe the name stackable is misleading, is "dma_ops multiplexing"
> better?)
Is per-device the right level? Wouldn't per-bus make more sense? How
does a dma_ops implementation "know" whether it can handle a particular
device?
(I haven't had a chance to read the patches yet.)
J
|  |