summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-08-22 21:04:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-08-22 21:04:33 +0000
commitfaa7a9a189e27f1cdcaa889a8c7d0edac1faa297 (patch)
tree1342924fecb5001bfb020a94a03dc9b1426b1dcd /sys/arch/hp300/dev
parent687713179a0daf32013442a5e71b47859d8f8a73 (diff)
Clear sti display on console attach, now that the bootloader leaves us
with scribbles around; ok mickey@
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r--sys/arch/hp300/dev/sti_sgc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/sti_sgc.c b/sys/arch/hp300/dev/sti_sgc.c
index 83381be7e0d..56f86728dac 100644
--- a/sys/arch/hp300/dev/sti_sgc.c
+++ b/sys/arch/hp300/dev/sti_sgc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti_sgc.c,v 1.8 2006/04/20 20:26:52 deraadt Exp $ */
+/* $OpenBSD: sti_sgc.c,v 1.9 2006/08/22 21:04:31 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -182,6 +182,7 @@ sticninit()
base = (bus_addr_t)sgc_slottopa(CONSCODE_TO_SGC_SLOT(conscode));
sti_cnattach(&stifb_cn, iot, base, STI_CODEBASE_M68K);
+ sti_clear(&stifb_cn);
/*
* Since the copyright notice could not be displayed before,