summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-08-01 23:53:10 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-08-01 23:53:10 +0000
commit882f5d5c5c47a00268535f526f15cc26bc86a370 (patch)
tree2f877fbe093dd3697ba47fab11845d0dd0632809
parent7b38ac457864e829c3919b68173acb7fa795c009 (diff)
make this compile. ok drahn
-rw-r--r--sys/arch/powerpc/include/bus.h4
-rw-r--r--sys/arch/powerpc/powerpc/dma.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/include/bus.h b/sys/arch/powerpc/include/bus.h
index 9946b120faa..1f60b398f6f 100644
--- a/sys/arch/powerpc/include/bus.h
+++ b/sys/arch/powerpc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.17 2001/07/30 14:16:00 art Exp $ */
+/* $OpenBSD: bus.h,v 1.18 2001/08/01 23:53:09 pvalchev Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom. All rights reserved.
@@ -502,7 +502,7 @@ void _dmamem_free __P((bus_dma_tag_t, bus_dma_segment_t *, int));
int _dmamem_map __P((bus_dma_tag_t, bus_dma_segment_t *,
int, size_t, caddr_t *, int));
void _dmamem_unmap __P((bus_dma_tag_t, caddr_t, size_t));
-int _dmamem_mmap __P((bus_dma_tag_t, bus_dma_segment_t *, int, int, int, int));
+paddr_t _dmamem_mmap __P((bus_dma_tag_t, bus_dma_segment_t *, int, off_t, int, int));
/*
* bus_dmamap_t
diff --git a/sys/arch/powerpc/powerpc/dma.c b/sys/arch/powerpc/powerpc/dma.c
index b9fbe2cf6f0..b6b1875fd61 100644
--- a/sys/arch/powerpc/powerpc/dma.c
+++ b/sys/arch/powerpc/powerpc/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.8 2001/07/30 14:16:00 art Exp $ */
+/* $OpenBSD: dma.c,v 1.9 2001/08/01 23:53:09 pvalchev Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -410,7 +410,7 @@ paddr_t
_dmamem_mmap(t, segs, nsegs, off, prot, flags)
bus_dma_tag_t t;
bus_dma_segment_t *segs;
- int nsegs,
+ int nsegs;
off_t off;
int prot, flags;
{