summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-14 00:51:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-14 00:51:42 +0000
commit55c2c73e30b3e1a6c2e91f4387f0dd100af899ca (patch)
treebe71cd7f8c587376c551088a8e9e195e67354209 /sys/arch/mvme88k
parentfd875e04265fc09aee5f1dd4263678202567f132 (diff)
One more free commit, thanks to smurph@, in order to get GENERIC going.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/dev/cl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c
index ec3152e3b33..e1c2d251a05 100644
--- a/sys/arch/mvme88k/dev/cl.c
+++ b/sys/arch/mvme88k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.15 2001/12/13 08:55:51 smurph Exp $ */
+/* $OpenBSD: cl.c,v 1.16 2001/12/14 00:51:41 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -253,7 +253,7 @@ clprobe(parent, self, aux)
ca->ca_vaddr = ca->ca_paddr = (void *)CD2400_BASE_ADDR;
cl_reg = (struct clreg *)ca->ca_vaddr;
- if (badvaddr(&cl_reg->cl_gfrcr,1))
+ if (badvaddr((vm_offset_t)&cl_reg->cl_gfrcr,1))
return 0;
return 1;
}