summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r--sys/arch/macppc/dev/awacs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/awacs.c b/sys/arch/macppc/dev/awacs.c
index 4065fe4da84..382d54fa5dd 100644
--- a/sys/arch/macppc/dev/awacs.c
+++ b/sys/arch/macppc/dev/awacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: awacs.c,v 1.5 2001/09/25 00:13:18 drahn Exp $ */
+/* $OpenBSD: awacs.c,v 1.6 2001/10/31 11:00:24 art Exp $ */
/* $NetBSD: awacs.c,v 1.4 2001/02/26 21:07:51 wiz Exp $ */
/*-
@@ -112,7 +112,7 @@ int awacs_set_port(void *, mixer_ctrl_t *);
int awacs_get_port(void *, mixer_ctrl_t *);
int awacs_query_devinfo(void *, mixer_devinfo_t *);
size_t awacs_round_buffersize(void *, int, size_t);
-int awacs_mappage(void *, void *, int, int);
+paddr_t awacs_mappage(void *, void *, off_t, int);
int awacs_get_props(void *);
void *awacs_allocm __P((void *, int, size_t, int, int));
@@ -995,11 +995,11 @@ awacs_allocm(h, dir, size, type, flags)
return p->addr;
}
-int
+paddr_t
awacs_mappage(h, mem, off, prot)
void *h;
void *mem;
- int off;
+ off_t off;
int prot;
{
if (off < 0)