From 27ecf90592ae2e754ae141f9bfaf869a1fda04eb Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 14 Mar 2004 05:40:50 +0000 Subject: [PATCH] remove the ioctl files from the asc, ctx and wt drivers just removed --- sys/i386/include/asc_ioctl.h | 53 ------------------------------------ sys/i386/include/ioctl_ctx.h | 31 --------------------- sys/i386/include/wtio.h | 30 -------------------- 3 files changed, 114 deletions(-) delete mode 100644 sys/i386/include/asc_ioctl.h delete mode 100644 sys/i386/include/ioctl_ctx.h delete mode 100644 sys/i386/include/wtio.h diff --git a/sys/i386/include/asc_ioctl.h b/sys/i386/include/asc_ioctl.h deleted file mode 100644 index d1f9c5171402..000000000000 --- a/sys/i386/include/asc_ioctl.h +++ /dev/null @@ -1,53 +0,0 @@ -/* asc.h - programming interface to the scanner device driver `asc' - * - * - * Copyright (c) 1995 Gunther Schadow. All rights reserved. - * - * 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 Gunther Schadow. - * 4. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. - * - * $FreeBSD$ - */ - -#ifndef _MACHINE_ASC_IOCTL_H_ -#define _MACHINE_ASC_IOCTL_H_ - -#include - -#define ASC_GRES _IOR('S', 1, int) /* get resolution / dpi */ -#define ASC_SRES _IOW('S', 2, int) /* set resolution / dpi */ -#define ASC_GWIDTH _IOR('S', 3, int) /* get width / pixels */ -#define ASC_SWIDTH _IOW('S', 4, int) /* set width / pixels */ -#define ASC_GHEIGHT _IOR('S', 5, int) /* get height / pixels */ -#define ASC_SHEIGHT _IOW('S', 6, int) /* set height / pixels */ - -#define ASC_GBLEN _IOR('S', 7, int) /* get buffer length / lines */ -#define ASC_SBLEN _IOW('S', 8, int) /* set buffer length / lines */ -#define ASC_GBTIME _IOR('S', 9, int) /* get buffer timeout / s */ -#define ASC_SBTIME _IOW('S', 10, int) /* set buffer timeout / s */ - -#define ASC_SRESSW _IO('S', 11) /* set resolution by switch */ - -#endif /* !_MACHINE_ASC_IOCTL_H_ */ diff --git a/sys/i386/include/ioctl_ctx.h b/sys/i386/include/ioctl_ctx.h deleted file mode 100644 index 8be709aea314..000000000000 --- a/sys/i386/include/ioctl_ctx.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * - * Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used, - * modified, copied, distributed, and sold, in both source and binary form - * provided that the above copyright and these terms are retained. Under - * no circumstances is the author responsible for the proper functioning - * of this software, nor does the author assume any responsibility - * for damages incurred with its use - * - * $FreeBSD$ - */ - -/* - * ioctl constants for Cortex-I frame grabber - */ - -#ifndef _MACHINE_IOCTL_CTX_H_ -#define _MACHINE_IOCTL_CTX_H_ - -#include - -typedef char _CTX_LUTBUF[256]; /* look up table buffer */ - -#define CTX_LIVE _IO('x', 1) /* live video */ -#define CTX_GRAB _IO('x', 2) /* frame grab */ -#define CTX_H_ORGANIZE _IO('x', 3) /* file goes across screen (horiz. read) */ -#define CTX_V_ORGANIZE _IO('x', 4) /* file goes down screen (vert. read) */ -#define CTX_SET_LUT _IOW('x', 5, _CTX_LUTBUF) /* set lookup table */ -#define CTX_GET_LUT _IOR('x', 6, _CTX_LUTBUF) /* get lookup table */ - -#endif /* !_MACHINE_IOCTL_CTX_H_ */ diff --git a/sys/i386/include/wtio.h b/sys/i386/include/wtio.h deleted file mode 100644 index 8262a01e093c..000000000000 --- a/sys/i386/include/wtio.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef _MACHINE_WTIO_H -#define _MACHINE_WTIO_H - -/* - * Streamer tape driver for 386bsd and FreeBSD. - * Supports Archive and Wangtek compatible QIC-02/QIC-36 boards. - * - * Copyright (C) 1993 by: - * Sergey Ryzhkov - * Serge Vakulenko - * - * This software is distributed with NO WARRANTIES, not even the implied - * warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * - * Authors grant any other persons or organizations permission to use - * or modify this software as long as this message is kept with the software, - * all derivative works or modified versions. - * - * This driver is derived from the old 386bsd Wangtek streamer tape driver, - * made by Robert Baron at CMU, based on Intel sources. - * - * $FreeBSD$ - * - */ - -/* formats for printing flags and error values */ -#define WTDS_BITS "\20\1inuse\2read\3write\4start\5rmark\6wmark\7rew\10excep\11vol\12wo\13ro\14wany\15rany\16wp\17timer\20active" -#define WTER_BITS "\20\1eof\2bnl\3uda\4eom\5wrp\6usl\7cni\11por\12erm\13bpe\14bom\15mbd\16ndt\17ill" - -#endif /* _MACHINE_WTIO_H */