summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/nubus.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-08 08:09:45 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-08 08:09:45 +0000
commit95da2243c76760307b218cb7f05645e68a73e8af (patch)
tree594a78dc6e16ba4f07e3c1bc9c44def6966cf19e /sys/arch/mac68k/dev/nubus.c
parent0579d34f9bf07b4a6bfebb51a83de3ac8356c01f (diff)
Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface to
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
Diffstat (limited to 'sys/arch/mac68k/dev/nubus.c')
-rw-r--r--sys/arch/mac68k/dev/nubus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c
index afad4676933..f1a931ac2f3 100644
--- a/sys/arch/mac68k/dev/nubus.c
+++ b/sys/arch/mac68k/dev/nubus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nubus.c,v 1.15 2001/05/08 17:30:40 aaron Exp $ */
+/* $OpenBSD: nubus.c,v 1.16 2001/06/08 08:09:00 art Exp $ */
/* $NetBSD: nubus.c,v 1.35 1997/04/22 20:20:32 scottr Exp $ */
/*
@@ -311,7 +311,7 @@ probe_slot(slot, fmt)
#ifdef DEBUG
if (nubus_debug & NDB_PROBE) {
- pa = pmap_extract(pmap_kernel(), (vm_offset_t) rom_probe - 1);
+ pmap_extract(pmap_kernel(), (vm_offset_t) rom_probe - 1, &pa);
printf("probing slot %d, first probe at %p (PA %lx).\n",
slot, rom_probe - 1, pa);
}