Source-Changes-HG archive

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

[src/trunk]: src Remove alpha/include/fbio.h -- it hasn't been used for a Lon...



details:   https://anonhg.NetBSD.org/src/rev/09cdc736d647
branches:  trunk
changeset: 515224:09cdc736d647
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Sep 19 16:32:04 2001 +0000

description:
Remove alpha/include/fbio.h -- it hasn't been used for a Long Time.

diffstat:

 distrib/sets/lists/comp/md.alpha       |    3 +-
 distrib/sets/lists/comp/obsolete.alpha |    3 +-
 sys/arch/alpha/include/Makefile        |    4 +-
 sys/arch/alpha/include/fbio.h          |  174 ---------------------------------
 4 files changed, 5 insertions(+), 179 deletions(-)

diffs (221 lines):

diff -r 426cb9931654 -r 09cdc736d647 distrib/sets/lists/comp/md.alpha
--- a/distrib/sets/lists/comp/md.alpha  Wed Sep 19 16:16:03 2001 +0000
+++ b/distrib/sets/lists/comp/md.alpha  Wed Sep 19 16:32:04 2001 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.alpha,v 1.35 2001/04/15 17:14:26 kleink Exp $
+# $NetBSD: md.alpha,v 1.36 2001/09/19 16:32:05 thorpej Exp $
 ./usr/include/alpha    comp-c-include
 ./usr/include/alpha/_G_config.h        comp-c-include
 ./usr/include/alpha/alpha_cpu.h        comp-c-include
@@ -21,7 +21,6 @@
 ./usr/include/alpha/elf_machdep.h      comp-c-include
 ./usr/include/alpha/endian.h   comp-c-include
 ./usr/include/alpha/endian_machdep.h   comp-c-include
-./usr/include/alpha/fbio.h     comp-c-include
 ./usr/include/alpha/float.h    comp-c-include
 ./usr/include/alpha/frame.h    comp-c-include
 ./usr/include/alpha/ieee.h     comp-c-include
diff -r 426cb9931654 -r 09cdc736d647 distrib/sets/lists/comp/obsolete.alpha
--- a/distrib/sets/lists/comp/obsolete.alpha    Wed Sep 19 16:16:03 2001 +0000
+++ b/distrib/sets/lists/comp/obsolete.alpha    Wed Sep 19 16:32:04 2001 +0000
@@ -1,2 +1,3 @@
-# $NetBSD: obsolete.alpha,v 1.2 2000/06/13 00:58:33 wiz Exp $
+# $NetBSD: obsolete.alpha,v 1.3 2001/09/19 16:32:05 thorpej Exp $
+/usr/include/alpha/fbio.h
 /usr/include/alpha/intrcnt.h
diff -r 426cb9931654 -r 09cdc736d647 sys/arch/alpha/include/Makefile
--- a/sys/arch/alpha/include/Makefile   Wed Sep 19 16:16:03 2001 +0000
+++ b/sys/arch/alpha/include/Makefile   Wed Sep 19 16:32:04 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2001/04/15 17:13:04 kleink Exp $
+#      $NetBSD: Makefile,v 1.18 2001/09/19 16:32:04 thorpej Exp $
 
 KDIR=  /sys/arch/alpha/include
 INCSDIR= /usr/include/alpha
@@ -8,7 +8,7 @@
        cdefs.h cfbreg.h conf.h cpu.h cpuconf.h \
        db_machdep.h disklabel.h \
        ecoff_machdep.h elf_machdep.h endian.h endian_machdep.h \
-       fbio.h float.h frame.h \
+       float.h frame.h \
        ieee.h ieeefp.h \
        int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \
        intr.h \
diff -r 426cb9931654 -r 09cdc736d647 sys/arch/alpha/include/fbio.h
--- a/sys/arch/alpha/include/fbio.h     Wed Sep 19 16:16:03 2001 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,174 +0,0 @@
-/* $NetBSD: fbio.h,v 1.4 1997/04/06 08:47:25 cgd Exp $ */
-
-/*
- * Copyright (c) 1992 Regents of the University of California.
- * All rights reserved.
- *
- * This code is derived from software developed by the Computer Systems
- * Engineering group at Lawrence Berkeley Laboratory under DARPA
- * contract BG 91-66 and contributed to Berkeley.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *     This product includes software developed by the University of
- *     California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- *    may be used to endorse or promote products derived from this software
- *    without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- *     @(#)fbio.h      7.2 (Berkeley) 4/1/92
- */
-
-/*
- * Frame buffer ioctls (from Sprite, trimmed to essentials for X11).
- */
-
-/*
- * Frame buffer type codes.
- */
-#define        FBTYPE_PM_MONO          0       /* never on the alpha */
-#define        FBTYPE_PM_COLOR         1       /* never on the alpha */
-#define        FBTYPE_CFB              2       /* CFB (TurboChannel) */
-#define        FBTYPE_XCFB             3       /* ??? (TurboChannel) */
-#define        FBTYPE_MFB              4       /* MFB (TurboChannel) */
-#define        FBTYPE_SFB              5       /* SFB (TurboChannel) */
-#define        FBTYPE_VGA              6       /* ISA or EISA VGA */
-#define        FBTYPE_PCIVGA           7       /* PCI VGA */
-#define        FBTYPE_TGA              8       /* TGA (PCI) */
-#define        FBTYPE_SFBP             9       /* SFB+ (TurboChannel) */
-#define        FBTYPE_TGA2             10      /* TGA2 (PCI) */
-
-#define        FBTYPE_LASTPLUSONE      11
-
-/*
- * Frame buffer descriptor as returned by FBIOGTYPE.
- */
-struct fbtype {
-       int     fb_type;        /* as defined above */
-       int     fb_height;      /* in pixels */
-       int     fb_width;       /* in pixels */
-       int     fb_depth;       /* bits per pixel */
-       int     fb_cmsize;      /* size of color map (entries) */
-       int     fb_size;        /* total size in bytes */
-};
-#define        FBIOGTYPE       _IOR('F', 0, struct fbtype)
-
-#ifdef notdef
-/*
- * General purpose structure for passing info in and out of frame buffers
- * (used for gp1) -- unsupported.
- */
-struct fbinfo {
-       int     fb_physaddr;    /* physical frame buffer address */
-       int     fb_hwwidth;     /* fb board width */
-       int     fb_hwheight;    /* fb board height */
-       int     fb_addrdelta;   /* phys addr diff between boards */
-       u_char  *fb_ropaddr;    /* fb virtual addr */
-       int     fb_unit;        /* minor devnum of fb */
-};
-#define        FBIOGINFO       _IOR('F', 2, struct fbinfo)
-#endif
-
-/*
- * Color map I/O.
- */
-struct fbcmap {
-       int     index;          /* first element (0 origin) */
-       int     count;          /* number of elements */
-       u_char  *red;           /* red color map elements */
-       u_char  *green;         /* green color map elements */
-       u_char  *blue;          /* blue color map elements */
-};
-#define        FBIOPUTCMAP     _IOW('F', 3, struct fbcmap)
-#define        FBIOGETCMAP     _IOW('F', 4, struct fbcmap)
-
-/*
- * Set/get attributes.
- */
-#define        FB_ATTR_NDEVSPECIFIC    8       /* no. of device specific values */
-#define        FB_ATTR_NEMUTYPES       4       /* no. of emulation types */
-
-struct fbsattr {
-       int     flags;                  /* flags; see below */
-       int     emu_type;               /* emulation type (-1 if unused) */
-       int     dev_specific[FB_ATTR_NDEVSPECIFIC];     /* catchall */
-};
-#define        FB_ATTR_AUTOINIT        1       /* emulation auto init flag */
-#define        FB_ATTR_DEVSPECIFIC     2       /* dev. specific stuff valid flag */
-
-struct fbgattr {
-       int     real_type;              /* real device type */
-       int     owner;                  /* PID of owner, 0 if myself */
-       struct  fbtype fbtype;          /* fbtype info for real device */
-       struct  fbsattr sattr;          /* see above */
-       int     emu_types[FB_ATTR_NEMUTYPES];   /* possible emulations */
-                                               /* (-1 if unused) */
-};
-/*     FBIOSATTR       _IOW('F', 5, struct fbsattr) -- unsupported */
-#define        FBIOGATTR       _IOR('F', 6, struct fbgattr)
-
-/*
- * Video control.
- */
-#define        FBVIDEO_OFF             0
-#define        FBVIDEO_ON              1
-
-#define        FBIOSVIDEO      _IOW('F', 7, int)
-#define        FBIOGVIDEO      _IOR('F', 8, int)
-
-/*
- * hardware cursor control
- */
-struct fbcurpos {
-       short x;
-       short y;
-};
- 
-#define FB_CUR_SETCUR   0x01
-#define FB_CUR_SETPOS   0x02
-#define FB_CUR_SETHOT   0x04
-#define FB_CUR_SETCMAP  0x08
-#define FB_CUR_SETSHAPE 0x10
-#define FB_CUR_SETALL   0x1F
-
-struct fbcursor {
-       short set;              /* what to set */
-       short enable;           /* enable/disable cursor */
-       struct fbcurpos pos;    /* cursor's position */
-       struct fbcurpos hot;    /* cursor's hot spot */
-       struct fbcmap cmap;     /* color map info */
-       struct fbcurpos size;   /* cursor's bit map size */
-       char *image;            /* cursor's image bits */
-       char *mask;             /* cursor's mask bits */
-};
- 
-/* set/get cursor attributes/shape */
-#define FBIOSCURSOR    _IOW('F', 24, struct fbcursor)
-#define FBIOGCURSOR    _IOWR('F', 25, struct fbcursor)
- 
-/* set/get cursor position */
-#define FBIOSCURPOS    _IOW('F', 26, struct fbcurpos)
-#define FBIOGCURPOS    _IOW('F', 27, struct fbcurpos)
- 
-/* get max cursor size */
-#define FBIOGCURMAX    _IOR('F', 28, struct fbcurpos)



Home | Main Index | Thread Index | Old Index