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 compilation fix
details: https://anonhg.NetBSD.org/src/rev/b2f51cf3e562
branches: trunk
changeset: 485840:b2f51cf3e562
user: wiz <wiz%NetBSD.org@localhost>
date: Sun May 07 01:16:23 2000 +0000
description:
compilation fix
diffstat:
sys/dev/pci/bktr/bktr_os.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 256c2d6a9ca1 -r b2f51cf3e562 sys/dev/pci/bktr/bktr_os.c
--- a/sys/dev/pci/bktr/bktr_os.c Sun May 07 00:56:03 2000 +0000
+++ b/sys/dev/pci/bktr/bktr_os.c Sun May 07 01:16:23 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bktr_os.c,v 1.2 2000/05/07 00:24:34 wiz Exp $ */
+/* $NetBSD: bktr_os.c,v 1.3 2000/05/07 01:16:23 wiz Exp $ */
/* FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.7 2000/04/16 07:50:09 roger Exp */
@@ -1244,7 +1244,7 @@
int bktr_read __P((dev_t, struct uio *, int));
int bktr_write __P((dev_t, struct uio *, int));
int bktr_ioctl __P((dev_t, ioctl_cmd_t, caddr_t, int, struct proc*));
-int bktr_mmap __P((dev_t, vm_offset_t, int));
+int bktr_mmap __P((dev_t, int, int));
vm_offset_t vm_page_alloc_contig(vm_offset_t, vm_offset_t,
vm_offset_t, vm_offset_t);
@@ -1669,7 +1669,7 @@
*
*/
int
-bktr_mmap(dev_t dev, vm_offset_t offset, int nprot)
+bktr_mmap(dev_t dev, int offset, int nprot)
{
int unit;
bktr_ptr_t bktr;
Home |
Main Index |
Thread Index |
Old Index