From 8171efa5a56e378cda407bf793aca38fe59c41f5 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 1 Aug 2001 20:32:14 +0000 Subject: Sync with busdma_map api change. --- sys/arch/hppa/gsc/gscbus.c | 4 ++-- sys/arch/hppa/hppa/mainbus.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/arch/hppa') 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"); -- cgit v1.2.3