summaryrefslogtreecommitdiff
path: root/sys/dev/pci/chipsfb.c
diff options
context:
space:
mode:
authormacallan <macallan@NetBSD.org>2009-08-20 02:40:57 +0000
committermacallan <macallan@NetBSD.org>2009-08-20 02:40:57 +0000
commiteccd210ff37f0ea316113bca35de4e60bac751de (patch)
tree291211e3b1426ced7346b08962f8a2d8b96c7c85 /sys/dev/pci/chipsfb.c
parenta63997dc139a5e01b3950b6a3c24289ca2af01a1 (diff)
use vcons_replay_msgbuf() when appropriate
Diffstat (limited to 'sys/dev/pci/chipsfb.c')
-rw-r--r--sys/dev/pci/chipsfb.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/chipsfb.c b/sys/dev/pci/chipsfb.c
index 0360fecf86a..48e9f3f87d6 100644
--- a/sys/dev/pci/chipsfb.c
+++ b/sys/dev/pci/chipsfb.c
@@ -1,4 +1,4 @@
-/* $NetBSD: chipsfb.c,v 1.19 2009/05/12 08:23:00 cegger Exp $ */
+/* $NetBSD: chipsfb.c,v 1.20 2009/08/20 02:40:57 macallan Exp $ */
/*
* Copyright (c) 2006 Michael Lorenz
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: chipsfb.c,v 1.19 2009/05/12 08:23:00 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: chipsfb.c,v 1.20 2009/08/20 02:40:57 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -372,6 +372,9 @@ chipsfb_attach(device_t parent, device_t self, void *aux)
sc->sc_bg = ri->ri_devcmap[bg];
chipsfb_clearscreen(sc);
+ if (console)
+ vcons_replay_msgbuf(&chipsfb_console_screen);
+
aprint_normal_dev(&sc->sc_dev, "%d MB aperture, %d MB VRAM at 0x%08x\n",
(u_int)(sc->sc_fbsize >> 20),
sc->memsize >> 20, (u_int)sc->sc_fb);