Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sun Define the DECstation framebuffer types, from pm...



details:   https://anonhg.NetBSD.org/src/rev/0df1b87b3ad0
branches:  trunk
changeset: 515231:0df1b87b3ad0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Sep 19 18:29:03 2001 +0000

description:
Define the DECstation framebuffer types, from pmax/include/fbio.h.

XXX Yes, this is disgusting, but it's also pretty stupid to have
what amounts to essentially the same include file duplicated in
so many places.

diffstat:

 sys/dev/sun/fbio.h |  16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 5296267e5c23 -r 0df1b87b3ad0 sys/dev/sun/fbio.h
--- a/sys/dev/sun/fbio.h        Wed Sep 19 18:10:32 2001 +0000
+++ b/sys/dev/sun/fbio.h        Wed Sep 19 18:29:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbio.h,v 1.2 2001/08/05 18:07:53 jdolecek Exp $ */
+/*     $NetBSD: fbio.h,v 1.3 2001/09/19 18:29:03 thorpej Exp $ */
 
 /*
  * Copyright (c) 1992 Regents of the University of California.
@@ -75,6 +75,20 @@
 #define        FBTYPE_LASTPLUSONE      22      /* max number of fbs (change as add) */
 
 /*
+ * XXX These really shouldn't be here, but this is what the pmax
+ * XXX port did ages ago.
+ */
+#define        PMAX_FBTYPE_PM_MONO     1
+#define        PMAX_FBTYPE_PM_COLOR    2
+#define        PMAX_FBTYPE_CFB         3
+#define        PMAX_FBTYPE_XCFB        4
+#define        PMAX_FBTYPE_MFB         5
+#define        PMAX_FBTYPE_SFB         6
+#define        PMAX_FBTYPE_PX          7
+
+#define        PMAX_FBTYPE_LASTPLUSONE 8
+
+/*
  * Frame buffer descriptor as returned by FBIOGTYPE.
  */
 struct fbtype {



Home | Main Index | Thread Index | Old Index