diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-01 20:32:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-01 20:32:14 +0000 |
commit | 8171efa5a56e378cda407bf793aca38fe59c41f5 (patch) | |
tree | 3b60a4da2454d6ad4f324cb5741cb2ebe1f0d444 /sys/arch/hppa | |
parent | feeb8be800c34aed348bf5eb89766e9544a00bee (diff) |
Sync with busdma_map api change.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/gsc/gscbus.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/mainbus.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/gsc/gscbus.c b/sys/arch/hppa/gsc/gscbus.c index 3522032b0a2..0de19e234f4 100644 --- a/sys/arch/hppa/gsc/gscbus.c +++ b/sys/arch/hppa/gsc/gscbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gscbus.c,v 1.12 2001/07/30 14:15:59 art Exp $ */ +/* $OpenBSD: gscbus.c,v 1.13 2001/08/01 20:32:04 miod Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -403,7 +403,7 @@ gsc_dmamem_mmap(v, segs, nsegs, off, prot, flags) void *v; bus_dma_segment_t *segs; int nsegs; - int off; + off_t off; int prot; int flags; { diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c index 9b662d02f5c..c640ab83878 100644 --- a/sys/arch/hppa/hppa/mainbus.c +++ b/sys/arch/hppa/hppa/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.11 2001/07/05 10:00:28 art Exp $ */ +/* $OpenBSD: mainbus.c,v 1.12 2001/08/01 20:32:13 miod Exp $ */ /* * Copyright (c) 1998-2000 Michael Shalayeff @@ -767,8 +767,8 @@ mbus_dmamem_unmap(void *v, caddr_t kva, size_t size) { } -int -mbus_dmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, int off, +paddr_t +mbus_dmamem_mmap(void *v, bus_dma_segment_t *segs, int nsegs, off_t off, int prot, int flags) { panic("_dmamem_mmap: not implemented"); |