From bfc5613f54965f38efbd6a24a7a302894b83b1db Mon Sep 17 00:00:00 2001 From: simonb Date: Tue, 27 Jun 2000 05:14:31 +0000 Subject: [PATCH] Revert some of the previous mmap() changes that were in "#ifdef FreeBSD" parts of this file. --- sys/dev/pci/bktr/bktr_os.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/bktr/bktr_os.c b/sys/dev/pci/bktr/bktr_os.c index 6a7ce6f6d016..c0c5e59faa00 100644 --- a/sys/dev/pci/bktr/bktr_os.c +++ b/sys/dev/pci/bktr/bktr_os.c @@ -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 @@ bktr_ioctl( dev_t dev, ioctl_cmd_t cmd, caddr_t arg, int flag, struct proc* pr ) /* * */ -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 @@ bktr_ioctl( dev_t dev, ioctl_cmd_t cmd, caddr_t arg, int flag, struct proc* pr ) * 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;