summaryrefslogtreecommitdiff
path: root/sys/dev/pci/eap.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/eap.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/eap.c')
-rw-r--r--sys/dev/pci/eap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/eap.c b/sys/dev/pci/eap.c
index 27f32a9611d..e0938a67dca 100644
--- a/sys/dev/pci/eap.c
+++ b/sys/dev/pci/eap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eap.c,v 1.14 2001/09/06 18:33:28 millert Exp $ */
+/* $OpenBSD: eap.c,v 1.15 2001/10/31 11:00:24 art Exp $ */
/* $NetBSD: eap.c,v 1.46 2001/09/03 15:07:37 reinoud Exp $ */
/*
@@ -171,7 +171,7 @@ int eap1370_query_devinfo(void *, mixer_devinfo_t *);
void *eap_malloc(void *, u_long, int, int);
void eap_free(void *, void *, int);
u_long eap_round_buffersize(void *, u_long);
-int eap_mappage(void *, void *, int, int);
+paddr_t eap_mappage(void *, void *, off_t, int);
int eap_get_props(void *);
void eap1370_set_mixer(struct eap_softc *sc, int a, int d);
u_int32_t eap1371_src_wait(struct eap_softc *sc);
@@ -1591,8 +1591,8 @@ eap_round_buffersize(void *addr, u_long size)
return (size);
}
-int
-eap_mappage(void *addr, void *mem, int off, int prot)
+paddr_t
+eap_mappage(void *addr, void *mem, off_t off, int prot)
{
struct eap_softc *sc = addr;
struct eap_dma *p;