Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/qbus Copied from ../../arch/vax/include/qdioctl.h, v



details:   https://anonhg.NetBSD.org/src/rev/57072bc461c5
branches:  trunk
changeset: 473880:57072bc461c5
user:      ragge <ragge%NetBSD.org@localhost>
date:      Sun Jun 20 17:53:53 1999 +0000

description:
Copied from ../../arch/vax/include/qdioctl.h,v

diffstat:

 sys/dev/qbus/qdioctl.h |  117 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 117 insertions(+), 0 deletions(-)

diffs (121 lines):

diff -r 95a8ab7be747 -r 57072bc461c5 sys/dev/qbus/qdioctl.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/dev/qbus/qdioctl.h    Sun Jun 20 17:53:53 1999 +0000
@@ -0,0 +1,117 @@
+/*     $NetBSD: qdioctl.h,v 1.2 1999/06/20 17:53:53 ragge Exp $        */
+/*-
+ * Copyright (c) 1982, 1986
+ *     The Regents of the University of California.  All rights reserved.
+ * (c) UNIX System Laboratories, Inc.
+ * All or some portions of this file are derived from material licensed
+ * to the University of California by American Telephone and Telegraph
+ * Co. or Unix System Laboratories, Inc. and are reproduced herein with
+ * the permission of UNIX System Laboratories, Inc.
+ *
+ * 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.
+ *
+ *     @(#)qdioctl.h   7.2 (Berkeley) 1/21/94
+ */
+
+/*
+ *     derived from: qdioctl.h 1.1     (ULTRIX)        8/22/85
+ */
+/*
+ * QDSS IOCTL definitions
+ */
+
+
+/************************************************************************
+ *                                                                     *
+ *                     Copyright (c) 1985 by                           *
+ *             Digital Equipment Corporation, Maynard, MA              *
+ *                     All rights reserved.                            *
+ *                                                                     *
+ *   This software is furnished under a license and may be used and    *
+ *   copied  only  in accordance with the terms of such license and    *
+ *   with the  inclusion  of  the  above  copyright  notice.   This    *
+ *   software  or  any  other copies thereof may not be provided or    *
+ *   otherwise made available to any other person.  No title to and    *
+ *   ownership of the software is hereby transferred.                  *
+ *                                                                     *
+ *   This software is  derived  from  software  received  from  the    *
+ *   University    of   California,   Berkeley,   and   from   Bell    *
+ *   Laboratories.  Use, duplication, or disclosure is  subject  to    *
+ *   restrictions  under  license  agreements  with  University  of    *
+ *   California and with AT&T.                                         *
+ *                                                                     *
+ *   The information in this software is subject to change  without    *
+ *   notice  and should not be construed as a commitment by Digital    *
+ *   Equipment Corporation.                                            *
+ *                                                                     *
+ *   Digital assumes no responsibility for the use  or  reliability    *
+ *   of its software on equipment which is not supplied by Digital.    *
+ *                                                                     *
+ ************************************************************************/
+/***************************************************************************
+*      revision history: (belongs in sccs)
+****************************************************************************
+*
+* 22 oct 85  longo  fixed QD_PRGTABRES cmd number to be 22 instead of 12
+* 14 oct 85  longo  added QD_KERN_LOOP and QD_KERN_UNLOOP
+* 02 oct 85  longo  added QD_MAPCOLOR and QD_UNMAPCOLOR
+* 17 sep 85  longo  made QD_MAPIOBUF a read/write command type
+*
+***************************************************************************/
+
+
+#ifdef KERNEL
+#include "sys/ioctl.h"
+#else
+#include <sys/ioctl.h>
+#endif
+
+
+#define QD_GETEVENT    _IOR('g', 1, struct _vs_event) /* get oldest event */
+#define QD_WTCURSOR    _IOW('g', 2, short[32])       /* write cursor bitmap */
+#define QD_RDCURSOR    _IOR('g', 3, 64)           /* read cursor bitmap */
+#define QD_CLRSCRN     _IO('g', 4)             /* clear the screen */
+#define QD_RDCONFIG    _IOR('g', 5, short)        /* read QDSS configuration */
+#define QD_PRGMOUSE    _IOW('g', 6, char)      /* program mouse */
+#define QD_PRGTABLET   _IOW('g', 7, char)      /* program tablet */
+#define QD_PRGKBD      _IOW('g', 8, struct prgkbd) /* program LK201 kbd */
+#define QD_MAPDEVICE   _IOR('g', 9, struct qdmap) /* map device to user */
+#define QD_MAPIOBUF    _IOWR('g', 10, caddr_t)     /* map DMA iobuf to user */
+#define QD_MAPEVENT    _IOR('g', 11, caddr_t)     /* map event queue to user */
+#define QD_PRGCURSOR   _IOW('g', 12, struct prg_cursor) /* program cursor */
+#define QD_RESET       _IO('g', 13)        /* set device & driver defaults */
+#define QD_POSCURSOR   _IOW('g', 14, struct _vs_cursor) /* position cursor */
+#define QD_SET         _IO('g', 15)        /* set DUART & driver defaults */
+#define QD_MAPSCROLL    _IOR('g', 16, caddr_t)  /* map scroll param area */
+#define QD_UNMAPSCROLL  _IO('g', 17)            /* unmap scroll param area */
+#define QD_MAPCOLOR     _IOR('g', 18, caddr_t)  /* map color map write buf */
+#define QD_UNMAPCOLOR   _IO('g', 19)            /* unmap color map write buf */
+#define QD_KERN_LOOP    _IO('g', 20)       /* detour kernel console output */
+#define QD_KERN_UNLOOP  _IO('g', 21)       /* un-detour kernel console output */
+#define QD_PRGTABRES   _IOW('g', 22, short) /* program tablet resolution */



Home | Main Index | Thread Index | Old Index