summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-19 00:11:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-19 00:11:40 +0000
commitb0f740e109fee323bd57d68d575c4797dcbc929d (patch)
tree0fdbcd5067fc0fbebad82d20073c09f420f06f6e /sys/arch
parentce7029166d44a450fcb2d2b9383f6eba91d7753e (diff)
rcons does NOT work on p4 bwtwo/cgtwo, probably because of alignment problems?
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/bwtwo.c3
-rw-r--r--sys/arch/sparc/dev/cgtwo.c3
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");