summaryrefslogtreecommitdiff
path: root/sys/dev/pci/emuxki.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/pci/emuxki.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/pci/emuxki.c')
-rw-r--r--sys/dev/pci/emuxki.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/emuxki.c b/sys/dev/pci/emuxki.c
index 9229cf57594..5b1b025c176 100644
--- a/sys/dev/pci/emuxki.c
+++ b/sys/dev/pci/emuxki.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emuxki.c,v 1.3 2001/10/24 23:23:44 ho Exp $ */
+/* $OpenBSD: emuxki.c,v 1.4 2001/10/31 11:00:24 art Exp $ */
/* $NetBSD: emuxki.c,v 1.1 2001/10/17 18:39:41 jdolecek Exp $ */
/*-
@@ -197,7 +197,7 @@ int emuxki_query_devinfo __P((void *, mixer_devinfo_t *));
void *emuxki_allocm __P((void *, int, size_t, int, int));
void emuxki_freem __P((void *, void *, int));
-int emuxki_mappage __P((void *, void *, int, int));
+paddr_t emuxki_mappage __P((void *, void *, off_t, int));
int emuxki_get_props __P((void *));
/* Interrupt handler */
@@ -1958,8 +1958,8 @@ emuxki_round_buffersize(void *addr, int direction, size_t bsize)
return (bsize);
}
-int
-emuxki_mappage(void *addr, void *ptr, int off, int prot)
+paddr_t
+emuxki_mappage(void *addr, void *ptr, off_t off, int prot)
{
struct emuxki_softc *sc = addr;
struct emuxki_mem *mem;