summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arch/vax/vax/bus_dma.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/vax/vax/bus_dma.c b/sys/arch/vax/vax/bus_dma.c
index 9b42340e7f1..e53d3bb5e58 100644
--- a/sys/arch/vax/vax/bus_dma.c
+++ b/sys/arch/vax/vax/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.3 2001/07/25 13:25:33 art Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.4 2001/08/02 21:30:30 hugh Exp $ */
/* $NetBSD: bus_dma.c,v 1.5 1999/11/13 00:32:20 thorpej Exp $ */
/*-
@@ -510,11 +510,13 @@ _bus_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
_bus_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;