diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/cgfourteen.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc/dev/tcx.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/cgfourteen.c b/sys/arch/sparc/dev/cgfourteen.c index c9ef0b54a85..497b39d66c8 100644 --- a/sys/arch/sparc/dev/cgfourteen.c +++ b/sys/arch/sparc/dev/cgfourteen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgfourteen.c,v 1.19 2002/11/06 21:06:20 miod Exp $ */ +/* $OpenBSD: cgfourteen.c,v 1.20 2002/12/10 20:32:57 miod Exp $ */ /* $NetBSD: cgfourteen.c,v 1.7 1997/05/24 20:16:08 pk Exp $ */ /* @@ -332,6 +332,7 @@ cgfourteenattach(parent, self, args) sc->sc_sunfb.sf_ro.ri_hw = sc; fbwscons_init(&sc->sc_sunfb, isconsole); + fbwscons_setcolormap(&sc->sc_sunfb, cgfourteen_setcolor); cgfourteen_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps; cgfourteen_stdscreen.nrows = sc->sc_sunfb.sf_ro.ri_rows; diff --git a/sys/arch/sparc/dev/tcx.c b/sys/arch/sparc/dev/tcx.c index 023ef6b1825..85a4a7717dd 100644 --- a/sys/arch/sparc/dev/tcx.c +++ b/sys/arch/sparc/dev/tcx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcx.c,v 1.14 2002/11/06 21:06:20 miod Exp $ */ +/* $OpenBSD: tcx.c,v 1.15 2002/12/10 20:32:57 miod Exp $ */ /* $NetBSD: tcx.c,v 1.8 1997/07/29 09:58:14 fair Exp $ */ /* @@ -276,6 +276,7 @@ tcxattach(parent, self, args) sc->sc_sunfb.sf_ro.ri_hw = sc; fbwscons_init(&sc->sc_sunfb, isconsole); + fbwscons_setcolormap(&sc->sc_sunfb, tcx_setcolor); tcx_stdscreen.capabilities = sc->sc_sunfb.sf_ro.ri_caps; tcx_stdscreen.nrows = sc->sc_sunfb.sf_ro.ri_rows; |