From 659e429169c5f2d28404f43cdd60ad089f858ea3 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 19 Nov 1995 00:11:38 +0000 Subject: [PATCH] rcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems? --- sys/arch/sparc/dev/bwtwo.c | 3 ++- sys/arch/sparc/dev/cgtwo.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/dev/bwtwo.c b/sys/arch/sparc/dev/bwtwo.c index 71c1b8fae70..ccdd9bd326d 100644 --- a/sys/arch/sparc/dev/bwtwo.c +++ b/sys/arch/sparc/dev/bwtwo.c @@ -228,7 +228,8 @@ bwtwoattach(parent, self, args) if (isconsole) { printf(" (console)\n"); #ifdef RASTERCONSOLE - fbrcons_init(&sc->sc_fb); + if (ca->ca_bustype != BUS_PFOUR) + fbrcons_init(&sc->sc_fb); #endif } else printf("\n"); diff --git a/sys/arch/sparc/dev/cgtwo.c b/sys/arch/sparc/dev/cgtwo.c index 742b407b63c..e11f2608341 100644 --- a/sys/arch/sparc/dev/cgtwo.c +++ b/sys/arch/sparc/dev/cgtwo.c @@ -208,7 +208,8 @@ cgtwoattach(parent, self, args) if (isconsole) { printf(" (console)\n"); #ifdef RASTERCONSOLE - fbrcons_init(&sc->sc_fb); + if (ca->ca_bustype != BUS_PFOUR) + fbrcons_init(&sc->sc_fb); #endif } else printf("\n"); -- 2.20.1