summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2001-08-02 21:30:31 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2001-08-02 21:30:31 +0000
commit7888e150e3e6a347c607d22152adf54e2617b76d (patch)
tree2da8d4f2d1cf4160f14a70ac09a76c8425800d49
parentfa2c0efef37b5f46cc27f83c361f3e50bcd43ad7 (diff)
match updated prototype
-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;