Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus remove last remnants of CG8 emulation



details:   https://anonhg.NetBSD.org/src/rev/4130e4013b85
branches:  trunk
changeset: 796770:4130e4013b85
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Jun 17 10:47:27 2014 +0000

description:
remove last remnants of CG8 emulation

diffstat:

 sys/dev/sbus/tcx.c |  23 ++---------------------
 1 files changed, 2 insertions(+), 21 deletions(-)

diffs (44 lines):

diff -r 56fac6194aba -r 4130e4013b85 sys/dev/sbus/tcx.c
--- a/sys/dev/sbus/tcx.c        Tue Jun 17 10:39:46 2014 +0000
+++ b/sys/dev/sbus/tcx.c        Tue Jun 17 10:47:27 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcx.c,v 1.48 2014/05/13 05:30:38 martin Exp $ */
+/*     $NetBSD: tcx.c,v 1.49 2014/06/17 10:47:27 macallan Exp $ */
 
 /*
  *  Copyright (c) 1996, 1998, 2009 The NetBSD Foundation, Inc.
@@ -38,13 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.48 2014/05/13 05:30:38 martin Exp $");
-
-/*
- * define for cg8 emulation on S24 (24-bit version of tcx) for the SS5;
- * it is bypassed on the 8-bit version (onboard framebuffer for SS4)
- */
-#undef TCX_CG8
+__KERNEL_RCSID(0, "$NetBSD: tcx.c,v 1.49 2014/06/17 10:47:27 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -205,19 +199,6 @@
 
 #define OBPNAME        "SUNW,tcx"
 
-#ifdef TCX_CG8
-/*
- * For CG8 emulation, we map the 32-bit-deep framebuffer at an offset of
- * 256K; the cg8 space begins with a mono overlay plane and an overlay
- * enable plane (128K bytes each, 1 bit per pixel), immediately followed
- * by the color planes, 32 bits per pixel.  We also map just the 32-bit
- * framebuffer at 0x04000000 (TCX_USER_RAM_COMPAT), for compatibility
- * with the cg8 driver.
- */
-#define        TCX_CG8OVERLAY  (256 * 1024)
-#define        TCX_SIZE_DFB32  (1152 * 900 * 4) /* max size of the framebuffer */
-#endif
-
 /*
  * Match a tcx.
  */



Home | Main Index | Thread Index | Old Index