Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/bktr Revert some of the previous mmap() changes ...
details: https://anonhg.NetBSD.org/src/rev/319a2ae7c71f
branches: trunk
changeset: 493919:319a2ae7c71f
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Jun 27 05:14:31 2000 +0000
description:
Revert some of the previous mmap() changes that were in "#ifdef FreeBSD"
parts of this file.
diffstat:
sys/dev/pci/bktr/bktr_os.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r c3d63949e029 -r 319a2ae7c71f sys/dev/pci/bktr/bktr_os.c
--- a/sys/dev/pci/bktr/bktr_os.c Tue Jun 27 05:00:26 2000 +0000
+++ b/sys/dev/pci/bktr/bktr_os.c Tue Jun 27 05:14:31 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bktr_os.c,v 1.7 2000/06/26 14:21:11 mrg Exp $ */
+/* $NetBSD: bktr_os.c,v 1.8 2000/06/27 05:14:31 simonb Exp $ */
/* FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.7 2000/04/16 07:50:09 roger Exp */
@@ -681,8 +681,8 @@
/*
*
*/
-paddr_t
-bktr_mmap( dev_t dev, off_t offset, int nprot )
+int
+bktr_mmap( dev_t dev, vm_offset_t offset, int nprot )
{
int unit;
bktr_ptr_t bktr;
@@ -1153,7 +1153,7 @@
* Note: 2.2.5/2.2.6/2.2.7/3.0 users must manually
* edit the line below and change "vm_offset_t" to "int"
*/
-paddr_t bktr_mmap( dev_t dev, off_t offset, int nprot )
+int bktr_mmap( dev_t dev, vm_offset_t offset, int nprot )
{
int unit;
Home |
Main Index |
Thread Index |
Old Index