summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgfour.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-18 17:02:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-18 17:02:27 +0000
commit9f47eedfae033ee1423044397396bd0d13711d4f (patch)
treef2e5e3b4b6cf5b38ad06e833149c20147b976ea1 /sys/arch/sparc/dev/cgfour.c
parent02ef75437b52173903c3ba96766eeb81e36ea256 (diff)
fix fb_setsize() to set width/height for P4 frame buffers
now rconsole works on all P4 frame buffers
Diffstat (limited to 'sys/arch/sparc/dev/cgfour.c')
-rw-r--r--sys/arch/sparc/dev/cgfour.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/sparc/dev/cgfour.c b/sys/arch/sparc/dev/cgfour.c
index 96b604662b3..ebd6b1fecd7 100644
--- a/sys/arch/sparc/dev/cgfour.c
+++ b/sys/arch/sparc/dev/cgfour.c
@@ -199,6 +199,9 @@ cgfourattach(parent, self, args)
if (isconsole) {
printf(" (console)\n");
+#ifdef RASTERCONSOLE
+ fbrcons_init(&sc->sc_fb);
+#endif
} else
printf("\n");
if ((node == fbnode && cputyp != CPU_SUN4) ||