On Tue, Sep 04, 2007 at 07:07:47AM -0600, Matthew Wilcox wrote:

> BTW, Ralf, I found six MIPS users:
> 
> ./arch/mips/au1000/common/dbdma.c:      dma_cache_wback_inv((unsigned 
> long)buf, nbytes);
> ./arch/mips/jazz/jazzdma.c: dma_cache_wback_inv(vdma_pagetable_start, 
> VDMA_PGTBL_SIZE);
> ./arch/mips/mm/dma-default.c: dma_cache_wback_inv((unsigned long) ret, size);
> ./drivers/net/sgiseeq.c:        dma_cache_wback_inv((unsigned 
> long)&sp->srings->rxvector,
> ./drivers/scsi/dec_esp.c:       dma_cache_wback_inv((unsigned long) 
> phys_to_virt(vaddress), length);
> ./include/asm-mips/floppy.h:    dma_cache_wback_inv((unsigned long)addr,size);

arch/mips/mm/dma-default.c is the implementation of the DMA API as
documented in the kernel; it needs to bang on the caches for non-coherent
I/O so will have to continue using the old functions though I may change
the function names.  sgiseeq I already fixed, the rest is being fixed
once as I'm writing this.

  Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to