rcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems?
authorderaadt <deraadt@openbsd.org>
Sun, 19 Nov 1995 00:11:38 +0000 (00:11 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 19 Nov 1995 00:11:38 +0000 (00:11 +0000)
sys/arch/sparc/dev/bwtwo.c
sys/arch/sparc/dev/cgtwo.c

index 71c1b8f..ccdd9bd 100644 (file)
@@ -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");
index 742b407..e11f260 100644 (file)
@@ -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");