summaryrefslogtreecommitdiff
path: root/sys/dev/ic/sti.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/sti.c')
-rw-r--r--sys/dev/ic/sti.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c
index a6d00a3f0fa..7e6afa2e8b4 100644
--- a/sys/dev/ic/sti.c
+++ b/sys/dev/ic/sti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti.c,v 1.43 2006/04/16 21:03:45 miod Exp $ */
+/* $OpenBSD: sti.c,v 1.44 2006/08/22 21:04:32 miod Exp $ */
/*
* Copyright (c) 2000-2003 Michael Shalayeff
@@ -1038,6 +1038,13 @@ sti_alloc_attr(v, fg, bg, flags, pattr)
* Console support
*/
+void
+sti_clear(struct sti_screen *scr)
+{
+ sti_bmove(scr, 0, 0, 0, 0,
+ scr->scr_cfg.scr_height, scr->scr_cfg.scr_width, bmf_clear);
+}
+
int
sti_cnattach(struct sti_screen *scr, bus_space_tag_t iot, bus_addr_t base,
u_int codebase)