Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/dev/wsfb Make genfb replay the msgbuf only if i...
details: https://anonhg.NetBSD.org/src/rev/3366e5b88a1f
branches: riastradh-drm2
changeset: 788633:3366e5b88a1f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jan 29 19:48:45 2014 +0000
description:
Make genfb replay the msgbuf only if it's becoming the console.
diffstat:
sys/dev/wsfb/genfb.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r db641c518d5b -r 3366e5b88a1f sys/dev/wsfb/genfb.c
--- a/sys/dev/wsfb/genfb.c Wed Jan 29 19:48:29 2014 +0000
+++ b/sys/dev/wsfb/genfb.c Wed Jan 29 19:48:45 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfb.c,v 1.50.8.1 2014/01/29 19:48:29 riastradh Exp $ */
+/* $NetBSD: genfb.c,v 1.50.8.2 2014/01/29 19:48:45 riastradh Exp $ */
/*-
* Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.50.8.1 2014/01/29 19:48:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfb.c,v 1.50.8.2 2014/01/29 19:48:45 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -317,7 +317,8 @@
}
#else
genfb_init_palette(sc);
- vcons_replay_msgbuf(&sc->sc_console_screen);
+ if (console)
+ vcons_replay_msgbuf(&sc->sc_console_screen);
#endif
if (genfb_softc == NULL)
Home |
Main Index |
Thread Index |
Old Index