Module Name: src
Committed By: macallan
Date: Thu Aug 20 02:01:55 UTC 2009
Modified Files:
src/sys/dev/sbus: tcx.c
Log Message:
use vcons_replay_msgbuf()
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/sbus/tcx.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/sbus/tcx.c
diff -u src/sys/dev/sbus/tcx.c:1.37 src/sys/dev/sbus/tcx.c:1.38
--- src/sys/dev/sbus/tcx.c:1.37 Thu Aug 20 00:59:28 2009
+++ src/sys/dev/sbus/tcx.c Thu Aug 20 02:01:55 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: tcx.c,v 1.37 2009/08/20 00:59:28 macallan Exp $ */
+/* $NetBSD: tcx.c,v 1.38 2009/08/20 02:01:55 macallan Exp $ */
/*
* Copyright (c) 1996, 1998, 2009 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.37 2009/08/20 00:59:28 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.38 2009/08/20 02:01:55 macallan Exp $");
/*
* define for cg8 emulation on S24 (24-bit version of tcx) for the SS5;
@@ -403,6 +403,8 @@
wsdisplay_cnattach(&tcx_defscreendesc, ri, 0, 0, defattr);
}
+ vcons_replay_msgbuf(&tcx_console_screen);
+
aa.console = isconsole;
aa.scrdata = &tcx_screenlist;
aa.accessops = &tcx_accessops;
@@ -1079,6 +1081,10 @@
}
if (cur->which & WSDISPLAY_CURSOR_DOCMAP) {
#if 0
+ /*
+ * apparently we're not writing in the right register here - if we do
+ * this the screen goes all funky
+ */
int i;
for (i = 0; i < cur->cmap.count; i++) {
@@ -1094,7 +1100,6 @@
#endif
}
if (cur->which & WSDISPLAY_CURSOR_DOSHAPE) {
-#if 1
int i;
uint32_t temp, poof;
@@ -1125,7 +1130,6 @@
THC_CURSOR_0 + i, poof);
}
}
-#endif
return 0;
}