diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-09 21:34:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-09 21:34:48 +0000 |
commit | 1848f3689607781a442c3f9b95448510997e5fb3 (patch) | |
tree | 6818afd25264ca9160582f988cf6c492a1c04744 /sys/arch/sparc/dev/cgfour.c | |
parent | 605f25f01edaf6c5fa838f1ba154e4b2b4856ed0 (diff) |
correct sun4 calls to fb_attach()
Diffstat (limited to 'sys/arch/sparc/dev/cgfour.c')
-rw-r--r-- | sys/arch/sparc/dev/cgfour.c | 3 |
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); } |