Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/sun Fix a conditional: sparc's will use the raster o...



details:   https://anonhg.NetBSD.org/src/rev/64d01766942f
branches:  trunk
changeset: 574527:64d01766942f
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Mar 03 16:01:37 2005 +0000

description:
Fix a conditional: sparc's will use the raster ops via RASTERCONSOL

diffstat:

 sys/dev/sun/cgsix.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fda787ce1a13 -r 64d01766942f sys/dev/sun/cgsix.c
--- a/sys/dev/sun/cgsix.c       Thu Mar 03 12:11:49 2005 +0000
+++ b/sys/dev/sun/cgsix.c       Thu Mar 03 16:01:37 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgsix.c,v 1.20 2005/03/03 12:11:49 martin Exp $ */
+/*     $NetBSD: cgsix.c,v 1.21 2005/03/03 16:01:37 martin Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -85,7 +85,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.20 2005/03/03 12:11:49 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.21 2005/03/03 16:01:37 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -292,7 +292,7 @@
                /*EMPTY*/;                                              \
 } while (0)
 
-#if NWSDISPLAY
+#if NWSDISPLAY || defined(RASTERCONSOLE)
 static void cg6_ras_init(struct cgsix_softc *);
 static void cg6_ras_copyrows(void *, int, int, int);
 static void cg6_ras_copycols(void *, int, int, int, int);



Home | Main Index | Thread Index | Old Index