summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1995-11-19 03:04:17 +0000
committerchuck <chuck@cvs.openbsd.org>1995-11-19 03:04:17 +0000
commitbfd83a99f0a4ceac125f36b17bbfd25cf77945ca (patch)
treed034bc7641edaca220cb6dcff499c1ebbe65d3da /sys/arch/mvme68k
parentb0f740e109fee323bd57d68d575c4797dcbc929d (diff)
in clcninit: we need to use IIOV to convert the physical address of
the console to a virtual address. otherwise we can not print anything because our register pointer is wrong (this is on the 167).
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/dev/cl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/dev/cl.c b/sys/arch/mvme68k/dev/cl.c
index ae43b4f5851..f6f384f2a4b 100644
--- a/sys/arch/mvme68k/dev/cl.c
+++ b/sys/arch/mvme68k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $Id: cl.c,v 1.3 1995/11/07 08:48:52 deraadt Exp $ */
+/* $Id: cl.c,v 1.4 1995/11/19 03:04:16 chuck Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -814,8 +814,8 @@ struct consdev *cp;
cl_cons.cl_vaddr = mapiodev(cl_cons.cl_paddr,size);
cd_pcc2_base = mapiodev(0xfff42000,pcc2_size);
#else
- cl_cons.cl_vaddr = (struct clreg *)cl_cons.cl_paddr;
- cl_cons.pcctwoaddr = (void *)0xfff42000;
+ cl_cons.cl_vaddr = (struct clreg *)IIOV(cl_cons.cl_paddr);
+ cl_cons.pcctwoaddr = (void *)IIOV(0xfff42000);
#endif
cl_reg = cl_cons.cl_vaddr;
/* reset the chip? */