summaryrefslogtreecommitdiff
path: root/sys/dev/ic/interwavevar.h
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2000-06-26 04:55:19 +0000
committersimonb <simonb@NetBSD.org>2000-06-26 04:55:19 +0000
commit889c658b5bade4e72ee61a17ccc6b886541a16ee (patch)
tree0f00804a921864ab4d9f6ef08d469cbdc9a9cf33 /sys/dev/ic/interwavevar.h
parent472221aa398d2e7677796734a88fde50951e3ebc (diff)
Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t". Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
Diffstat (limited to 'sys/dev/ic/interwavevar.h')
-rw-r--r--sys/dev/ic/interwavevar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/interwavevar.h b/sys/dev/ic/interwavevar.h
index 8a1166ec534..c545868725f 100644
--- a/sys/dev/ic/interwavevar.h
+++ b/sys/dev/ic/interwavevar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: interwavevar.h,v 1.7 2000/02/07 22:07:30 thorpej Exp $ */
+/* $NetBSD: interwavevar.h,v 1.8 2000/06/26 04:56:18 simonb Exp $ */
/*
* Copyright (c) 1997, 1999 The NetBSD Foundation, Inc.
@@ -250,7 +250,7 @@ int iw_query_devinfo __P((void *, mixer_devinfo_t *));
void * iw_malloc __P((void *, int, size_t, int, int));
void iw_free __P((void *,void *,int));
size_t iw_round_buffersize __P((void *, int, size_t));
-int iw_mappage __P((void *, void *, int, int));
+paddr_t iw_mappage __P((void *, void *, off_t, int));
int iw_get_props __P((void *));
#endif /* INTERWAVEVAR_H */