On Tue, May 11, 2004 at 10:53:05PM +0900, Atsushi Nemoto wrote: > >> I see. Thank you for pointing out it. I must learn 2.6 DMA API > >> quickly ... > > ralf> This also applies to the 2.4 PCI DMA API. > > But 2.4 PCI DMA API does not have dma_get_cache_alignment() (or > equivalent), or am I missing something? No, you don't; that was a problem in the 2.4 DMA API which got fixed in 2.5. For 2.4 using L1_CACHE_BYTES from <asm/cache.h> is a reasonable alternative. Ralf