diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-02-24 18:51:30 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-02-24 18:51:30 +0000 |
commit | 335d8867dca0629bff01a41d758074ae3218fdcc (patch) | |
tree | bf1ba3b0646f4e5a11e1e9cc4771c7583c375368 /sys/dev | |
parent | 859d6959284c883a175aeca9711c96111baecda0 (diff) |
Proper screenblank semantics
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sbus/cgsix.c | 6 | ||||
-rw-r--r-- | sys/dev/sbus/cgthree.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/sbus/cgsix.c b/sys/dev/sbus/cgsix.c index 5323c2f709b..6fd559d1425 100644 --- a/sys/dev/sbus/cgsix.c +++ b/sys/dev/sbus/cgsix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgsix.c,v 1.12 2002/02/23 05:47:50 jason Exp $ */ +/* $OpenBSD: cgsix.c,v 1.13 2002/02/24 18:51:29 jason Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -343,7 +343,7 @@ cgsixattach(parent, self, aux) sc->sc_cmap.cm_map[i][2] = BT_READ(sc, BT_CMAP) >> 24; } - cgsix_burner(sc, 0, 0); + cgsix_burner(sc, 1, 0); sc->sc_depth = getpropint(sa->sa_node, "depth", 8); sc->sc_linebytes = getpropint(sa->sa_node, "linebytes", 1152); @@ -742,7 +742,7 @@ cgsix_burner(vsc, on, flags) s = splhigh(); thcm = THC_READ(sc, CG6_THC_MISC); - if (!on) + if (on) thcm |= THC_MISC_VIDEN | THC_MISC_SYNCEN; else { thcm &= ~THC_MISC_VIDEN; diff --git a/sys/dev/sbus/cgthree.c b/sys/dev/sbus/cgthree.c index 86945ff20b7..f254a57af67 100644 --- a/sys/dev/sbus/cgthree.c +++ b/sys/dev/sbus/cgthree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgthree.c,v 1.9 2002/02/23 05:47:50 jason Exp $ */ +/* $OpenBSD: cgthree.c,v 1.10 2002/02/24 18:51:29 jason Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -289,7 +289,7 @@ cgthreeattach(parent, self, aux) for (i = 0; i < 256 * 3 / 4; i++) sc->sc_cmap.cm_chip[i] = BT_READ(sc, BT_CMAP); - cgthree_burner(sc, 0, 0); + cgthree_burner(sc, 1, 0); sc->sc_rcons.rc_sp = &sc->sc_raster; sc->sc_raster.width = sc->sc_width; @@ -633,7 +633,7 @@ cgthree_burner(vsc, on, flags) s = splhigh(); fbc = FBC_READ(sc, CG3_FBC_CTRL); - if (!on) + if (on) fbc |= FBC_CTRL_VENAB; else fbc &= ~FBC_CTRL_VENAB; |