From: James B. <Jam...@st...> - 2003-09-29 21:19:27
|
On Mon, 2003-09-29 at 15:55, Grant Grundler wrote: > On Mon, Sep 29, 2003 at 05:27:49PM +0100, Matthew Wilcox wrote: > > > Um, which one is the current right dma device API? > > > > The one in Documentation/DMA-API.txt. > > Matthew, which version of the source tree? > 2.4.22 and 2.6.x versions of this file are not identical. > > grundler@gsyprf3:/usr/src$ diff linux-2.?/Documentation/DMA-mapping.txt | wc -l > 117 > grundler@gsyprf3:/usr/src$ wc -l linux-2.?/Documentation/DMA-mapping.txt > 798 linux-2.4/Documentation/DMA-mapping.txt > 828 linux-2.5/Documentation/DMA-mapping.txt > 1626 total DMA-mapping.txt is only the pci_ DMA API. The ncr53c8xx doesn't use that any more. It only uses the generic DMA API, which is documented in DMA-API.txt like willy said, and is only in 2.6 (not 2.4). James |