summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
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");