summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/ite.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/ite.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/ite.c')
-rw-r--r--sys/arch/mac68k/dev/ite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/ite.c b/sys/arch/mac68k/dev/ite.c
index 1f815f83b3f..90ea12baed0 100644
--- a/sys/arch/mac68k/dev/ite.c
+++ b/sys/arch/mac68k/dev/ite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ite.c,v 1.17 1998/05/03 07:12:58 gene Exp $ */
+/* $OpenBSD: ite.c,v 1.18 2001/06/08 08:08:59 art Exp $ */
/* $NetBSD: ite.c,v 1.32 1997/02/20 00:23:25 scottr Exp $ */
/*
@@ -935,11 +935,11 @@ itematch(parent, vcf, aux)
{
struct grfbus_attach_args *ga = aux;
struct grfmode *gm = ga->ga_grfmode;
- vm_offset_t pa;
+ paddr_t pa;
if (strcmp(ga->ga_name, "ite"))
return 0;
- pa = pmap_extract(pmap_kernel(), (vm_offset_t) gm->fbbase + gm->fboff);
+ pmap_extract(pmap_kernel(), (vm_offset_t) gm->fbbase + gm->fboff, &pa);
return (pa == (vm_offset_t) mac68k_vidphys);
}