Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sbus use vcons_replay_msgbuf()
details: https://anonhg.NetBSD.org/src/rev/11e488b744b8
branches: trunk
changeset: 746793:11e488b744b8
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Aug 20 02:01:55 2009 +0000
description:
use vcons_replay_msgbuf()
diffstat:
sys/dev/sbus/tcx.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (54 lines):
diff -r 2c6ba8fe620d -r 11e488b744b8 sys/dev/sbus/tcx.c
--- a/sys/dev/sbus/tcx.c Thu Aug 20 02:01:08 2009 +0000
+++ b/sys/dev/sbus/tcx.c Thu Aug 20 02:01:55 2009 +0000
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index