diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-02-22 22:05:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-02-22 22:05:02 +0000 |
commit | 5b888df1b854cdd8d7ad46a8573292505f28be00 (patch) | |
tree | b8538156401ac828c52e64e56a4f26dccdc22ad7 /sys/arch/alpha | |
parent | 439b0df6064ccb31b08f1d5389d757966685336b (diff) |
Nuke unused includes.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/include/elf_machdep.h | 10 | ||||
-rw-r--r-- | sys/arch/alpha/include/fbio.h | 171 | ||||
-rw-r--r-- | sys/arch/alpha/include/kbio.h | 114 | ||||
-rw-r--r-- | sys/arch/alpha/include/wsconsio.h | 62 |
4 files changed, 0 insertions, 357 deletions
diff --git a/sys/arch/alpha/include/elf_machdep.h b/sys/arch/alpha/include/elf_machdep.h deleted file mode 100644 index 404573e69bd..00000000000 --- a/sys/arch/alpha/include/elf_machdep.h +++ /dev/null @@ -1,10 +0,0 @@ -/* $OpenBSD: elf_machdep.h,v 1.2 2001/01/16 15:33:04 art Exp $ */ -/* $NetBSD: elf_machdep.h,v 1.1 1996/09/26 21:50:57 cgd Exp $ */ - -#define ELF32_MACHDEP_ID_CASES \ - /* no 32-bit ELF machine types supported */ - -#define ELF64_MACHDEP_ID_CASES \ - case EM_ALPHA: \ - case EM_ALPHA_EXP: \ - break; diff --git a/sys/arch/alpha/include/fbio.h b/sys/arch/alpha/include/fbio.h deleted file mode 100644 index 79104661b4e..00000000000 --- a/sys/arch/alpha/include/fbio.h +++ /dev/null @@ -1,171 +0,0 @@ -/* $OpenBSD: fbio.h,v 1.5 2003/06/02 23:27:43 millert Exp $ */ -/* $NetBSD: fbio.h,v 1.3 1996/08/23 00:50: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. 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 { - u_int index; /* first element (0 origin) */ - u_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) diff --git a/sys/arch/alpha/include/kbio.h b/sys/arch/alpha/include/kbio.h deleted file mode 100644 index e5da923b156..00000000000 --- a/sys/arch/alpha/include/kbio.h +++ /dev/null @@ -1,114 +0,0 @@ -/* $OpenBSD: kbio.h,v 1.4 2003/06/02 23:27:43 millert Exp $ */ -/* $NetBSD: kbio.h,v 1.1 1996/04/12 01:45:45 cgd Exp $ */ - -/* - * Copyright (c) 1992, 1993 - * The Regents of the University of California. All rights reserved. - * - * This software was developed by the Computer Systems Engineering group - * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and - * contributed to Berkeley. - * - * 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, Lawrence Berkeley Laboratory. - * - * 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. 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. - * - * @(#)kbio.h 8.1 (Berkeley) 6/11/93 - */ - -#if 0 /* XXX */ -/* - * The following is a minimal emulation of Sun's `kio' structures - * and related operations necessary to make X11 happy (i.e., make it - * compile, and make old X11 binaries run). - */ - -/* - * The kiockey structure apparently gets and/or sets keyboard mappings. - * It seems to be kind of useless, but X11 uses it (according to the - * comments) to figure out when a Sun 386i has a type-4 keyboard but - * claims to have a type-3 keyboard. We need just enough to cause the - * appropriate ioctl to return the appropriate magic value. - * - * KIOCGETKEY fills in kio_entry from kio_station. Not sure what tablemask - * is for; X sets it before the call, so it is not an output, but we do not - * care anyway. KIOCSDIRECT is supposed to tell the kernel whether to send - * keys to the console or to X; we just send them to X whenever the keyboard - * is open at all. (XXX may need to change this later) - * - * Keyboard commands and types are defined in kbd.h as they are actually - * real hardware commands and type numbers. - */ -struct okiockey { /* Out-dated key translation structure */ - int kio_tablemask; /* whatever */ - u_char kio_station; /* key number */ - u_char kio_entry; /* HOLE if not present */ - char kio_text[10]; /* the silly escape sequences (unsupported) */ -}; - -struct kiockey { - int kio_tablemask; /* whatever */ - u_char kio_station; /* key number */ - u_short kio_entry; /* HOLE if not present */ - char kio_text[10]; /* the silly escape sequences (unsupported) */ -}; - -/* - * Values for kio_tablemask. These determine which table to read/modify - * in KIOC[SG]KEY ioctls. Currently, we only have "non-shift" and "shift" - * tables. - */ -#define KIOC_NOMASK 0x0 -#define KIOC_CAPSMASK 0x1 -#define KIOC_SHIFTMASK 0xe -#define KIOC_CTRLMASK 0x30 -#define KIOC_ALTGMASK 0x200 -#define KIOC_NUMLMASK 0x800 - -#define HOLE 0x302 /* value for kio_entry to say `really type 3' */ - -#define KIOCTRANS _IOW('k', 0, int) /* set translation mode */ - /* (we only accept TR_UNTRANS_EVENT) */ -#define KIOCGETKEY _IOWR('k', 2, struct okiockey) /* fill in kio_entry */ -#define KIOCGTRANS _IOR('k', 5, int) /* get translation mode */ -#define KIOCCMD _IOW('k', 8, int) /* X uses this to ring bell */ -#define KIOCTYPE _IOR('k', 9, int) /* get keyboard type */ -#endif /* 0 XXX */ -#define KIOCSDIRECT _IOW('k', 10, int) /* keys to console? */ -#if 0 /* XXX */ -#define KIOCSKEY _IOW('k', 12, struct kiockey) /* set xlat mode */ -#define KIOCGKEY _IOWR('k', 13, struct kiockey) /* get xlat mode */ -#define KIOCLAYOUT _IOR('k', 20, int) /* get keyboard layout */ -#define KIOCSLED _IOW('k', 14, char) /* set LED state */ -#define KIOCGLED _IOR('k', 15, char) /* get LED state */ - -#define TR_NONE 0 /* X compat, unsupported */ -#define TR_ASCII 1 /* X compat, unsupported */ -#define TR_EVENT 2 /* X compat, unsupported */ -#define TR_UNTRANS_EVENT 3 -#endif /* 0 XXX */ diff --git a/sys/arch/alpha/include/wsconsio.h b/sys/arch/alpha/include/wsconsio.h deleted file mode 100644 index 8dc493b5547..00000000000 --- a/sys/arch/alpha/include/wsconsio.h +++ /dev/null @@ -1,62 +0,0 @@ -/* $OpenBSD: wsconsio.h,v 1.3 1996/10/30 22:39:35 niklas Exp $ */ -/* $NetBSD: wsconsio.h,v 1.1 1996/04/12 01:43:06 cgd Exp $ */ - -/* - * Copyright (c) 1995, 1996 Carnegie-Mellon University. - * All rights reserved. - * - * Author: Chris G. Demetriou - * - * Permission to use, copy, modify and distribute this software and - * its documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" - * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND - * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * - * Carnegie Mellon requests users of this software to return to - * - * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU - * School of Computer Science - * Carnegie Mellon University - * Pittsburgh PA 15213-3890 - * - * any improvements or extensions that they make and grant Carnegie the - * rights to redistribute these changes. - */ - -/* - * Get keyboard type. Keyboard type definitions are below. - */ -#define WSCONSIO_KBD_GTYPE _IOR('W',100,int) -#define KBD_TYPE_LK201 0 /* lk-201 */ -#define KBD_TYPE_LK401 1 /* lk-401 */ -#define KBD_TYPE_PC 2 /* pc-like */ - -/* - * If arg is one, don't process scancodes into characters - */ -#define WSCONSIO_KBD_SCANCODES _IO('W',101,int) - -/* - * Bell ioctls. - */ - -struct wsconsio_bell_data { - int wbd_flags; - int wbd_pitch; /* pitch, in Hz. */ - int wbd_period; /* period, in milliseconds. */ - int wbd_volume; /* percentage of maximum volume. */ -}; - -#define WSCONSIO_BELLDATA_PITCH 0x01 /* pitch data present */ -#define WSCONSIO_BELLDATA_PERIOD 0x02 /* period data present */ -#define WSCONSIO_BELLDATA_VOLUME 0x04 /* volume data present */ - -#define WSCONSIO_BELL _IO('W',102) -#define WSCONSIO_COMPLEXBELL _IOW('W',103,struct wsconsio_bell_data) -#define WSCONSIO_SETBELL _IOW('W',104,struct wsconsio_bell_data) -#define WSCONSIO_GETBELL _IOR('W',105,struct wsconsio_bell_data) |