summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-08-16 02:54:55 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-08-16 02:54:55 +0000
commit66d742fdecd775e21f621e5470869f78d05ad9ab (patch)
tree2f0a43c92dfae6295e4d822a4fc2003332dbd197 /sys/dev/sbus
parent67c3cf02fb2bdb3b177cce1884526cb404a874f2 (diff)
Turn OFF (not ON) acceleration if revision < 5
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r--sys/dev/sbus/cgsix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/cgsix.c b/sys/dev/sbus/cgsix.c
index 6bb853b73e6..c4e36efde32 100644
--- a/sys/dev/sbus/cgsix.c
+++ b/sys/dev/sbus/cgsix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgsix.c,v 1.30 2002/08/12 16:18:59 jason Exp $ */
+/* $OpenBSD: cgsix.c,v 1.31 2002/08/16 02:54:54 jason Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -254,7 +254,7 @@ cgsixattach(parent, self, aux)
* will be investigated later.
*/
if (rev < 5)
- sc->sc_dev.dv_cfdata->cf_flags &= ~CG6_CFFLAG_NOACCEL;
+ sc->sc_dev.dv_cfdata->cf_flags |= CG6_CFFLAG_NOACCEL;
if ((sc->sc_dev.dv_cfdata->cf_flags & CG6_CFFLAG_NOACCEL) == 0) {
sc->sc_rasops.ri_ops.copyrows = cgsix_ras_copyrows;