From: deraadt Date: Sun, 19 Nov 1995 00:11:38 +0000 (+0000) Subject: rcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems? X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=659e429169c5f2d28404f43cdd60ad089f858ea3;p=openbsd rcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems? --- 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");