summaryrefslogtreecommitdiff
path: root/sys/dev/isa/sbdsp.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-10-31 11:00:25 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-10-31 11:00:25 +0000
commitf1ceff4a33130475b6d475519e0ac2e6826a9304 (patch)
tree2861dafaef2b8dd0f609dc4dd811c8e93edb80bf /sys/dev/isa/sbdsp.c
parent5e52cf2a7aad908f4756bbb6dccd325286680816 (diff)
Change the audio_hm_if->mappage interface to return paddr_t and take off_t
as the mmap offset.
Diffstat (limited to 'sys/dev/isa/sbdsp.c')
-rw-r--r--sys/dev/isa/sbdsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/sbdsp.c b/sys/dev/isa/sbdsp.c
index 02b09401981..5cdf4a8ec4e 100644
--- a/sys/dev/isa/sbdsp.c
+++ b/sys/dev/isa/sbdsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbdsp.c,v 1.16 2001/04/12 07:46:46 csapuntz Exp $ */
+/* $OpenBSD: sbdsp.c,v 1.17 2001/10/31 11:00:24 art Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -2226,11 +2226,11 @@ sb_round(addr, size)
return size;
}
-int
+paddr_t
sb_mappage(addr, mem, off, prot)
void *addr;
void *mem;
- int off;
+ off_t off;
int prot;
{
return isa_mappage(mem, off, prot);