summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgfour.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/cgfour.c')
-rw-r--r--sys/arch/sparc/dev/cgfour.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/cgfour.c b/sys/arch/sparc/dev/cgfour.c
index 172706c3120..74f5b470733 100644
--- a/sys/arch/sparc/dev/cgfour.c
+++ b/sys/arch/sparc/dev/cgfour.c
@@ -201,7 +201,8 @@ cgfourattach(parent, self, args)
printf(" (console)\n");
} else
printf("\n");
- if (node == fbnode)
+ if ((node == fbnode && cputyp != CPU_SUN4) ||
+ (isconsole && cputyp == CPU_SUN4))
fb_attach(&sc->sc_fb);
}