diff options
Diffstat (limited to 'sys/arch/powerpc/powerpc/dma.c')
-rw-r--r-- | sys/arch/powerpc/powerpc/dma.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/dma.c b/sys/arch/powerpc/powerpc/dma.c index f9b8bfae9c7..b9fbe2cf6f0 100644 --- a/sys/arch/powerpc/powerpc/dma.c +++ b/sys/arch/powerpc/powerpc/dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dma.c,v 1.7 2001/07/25 13:25:32 art Exp $ */ +/* $OpenBSD: dma.c,v 1.8 2001/07/30 14:16:00 art Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -406,11 +406,13 @@ _dmamem_unmap(t, kva, size) * Common functin for mmap(2)'ing DMA-safe memory. May be called by * bus-specific DMA mmap(2)'ing functions. */ -int +paddr_t _dmamem_mmap(t, segs, nsegs, off, prot, flags) bus_dma_tag_t t; bus_dma_segment_t *segs; - int nsegs, off, prot, flags; + int nsegs, + off_t off; + int prot, flags; { int i; |