xref: /csrg-svn/sys/vax/uba/qdioctl.h (revision 49567)
1*49567Sbostic /*-
2*49567Sbostic  * Copyright (c) 1982, 1986 The Regents of the University of California.
3*49567Sbostic  * All rights reserved.
434542Smarc  *
5*49567Sbostic  * %sccs.include.redist.c%
634542Smarc  *
7*49567Sbostic  *	@(#)qdioctl.h	7.1 (Berkeley) 05/09/91
8*49567Sbostic  */
9*49567Sbostic 
10*49567Sbostic /*
1134542Smarc  *	derived from: qdioctl.h	1.1	(ULTRIX)	8/22/85
1234542Smarc  */
1334542Smarc /*
1433095Sbostic  * QDSS IOCTL definitions
1533095Sbostic  */
1633095Sbostic 
1733095Sbostic 
1833095Sbostic /************************************************************************
1933095Sbostic  *									*
2033095Sbostic  *			Copyright (c) 1985 by				*
2133095Sbostic  *		Digital Equipment Corporation, Maynard, MA		*
2233095Sbostic  *			All rights reserved.				*
2333095Sbostic  *									*
2433095Sbostic  *   This software is furnished under a license and may be used and	*
2533095Sbostic  *   copied  only  in accordance with the terms of such license and	*
2633095Sbostic  *   with the  inclusion  of  the  above  copyright  notice.   This	*
2733095Sbostic  *   software  or  any  other copies thereof may not be provided or	*
2833095Sbostic  *   otherwise made available to any other person.  No title to and	*
2933095Sbostic  *   ownership of the software is hereby transferred.			*
3033095Sbostic  *									*
3133095Sbostic  *   This software is  derived  from  software  received  from  the	*
3233095Sbostic  *   University    of   California,   Berkeley,   and   from   Bell	*
3333095Sbostic  *   Laboratories.  Use, duplication, or disclosure is  subject  to	*
3433095Sbostic  *   restrictions  under  license  agreements  with  University  of	*
3533095Sbostic  *   California and with AT&T.						*
3633095Sbostic  *									*
3733095Sbostic  *   The information in this software is subject to change  without	*
3833095Sbostic  *   notice  and should not be construed as a commitment by Digital	*
3933095Sbostic  *   Equipment Corporation.						*
4033095Sbostic  *									*
4133095Sbostic  *   Digital assumes no responsibility for the use  or  reliability	*
4233095Sbostic  *   of its software on equipment which is not supplied by Digital.	*
4333095Sbostic  *									*
4433095Sbostic  ************************************************************************/
4533095Sbostic /***************************************************************************
4634542Smarc *	revision history: (belongs in sccs)
4733095Sbostic ****************************************************************************
4833095Sbostic *
4933095Sbostic * 22 oct 85  longo  fixed QD_PRGTABRES cmd number to be 22 instead of 12
5033095Sbostic * 14 oct 85  longo  added QD_KERN_LOOP and QD_KERN_UNLOOP
5133095Sbostic * 02 oct 85  longo  added QD_MAPCOLOR and QD_UNMAPCOLOR
5233095Sbostic * 17 sep 85  longo  made QD_MAPIOBUF a read/write command type
5333095Sbostic *
5433095Sbostic ***************************************************************************/
5533095Sbostic 
5633095Sbostic 
5733095Sbostic #ifdef KERNEL
5845805Sbostic #include "sys/ioctl.h"
5933095Sbostic #else
6033095Sbostic #include <sys/ioctl.h>
6133095Sbostic #endif
6233095Sbostic 
6333095Sbostic 
6433096Sbostic #define QD_GETEVENT	_IOR('g', 1, struct _vs_event) /* get oldest event */
6533096Sbostic #define QD_WTCURSOR	_IOW('g', 2, short[32])       /* write cursor bitmap */
6633096Sbostic #define QD_RDCURSOR	_IOR('g', 3, 64)           /* read cursor bitmap */
6733096Sbostic #define QD_CLRSCRN	_IO('g', 4) 		/* clear the screen */
6833096Sbostic #define QD_RDCONFIG	_IOR('g', 5, short)        /* read QDSS configuration */
6933096Sbostic #define QD_PRGMOUSE	_IOW('g', 6, char)	/* program mouse */
7033096Sbostic #define QD_PRGTABLET	_IOW('g', 7, char) 	/* program tablet */
7133096Sbostic #define QD_PRGKBD	_IOW('g', 8, struct prgkbd) /* program LK201 kbd */
7233096Sbostic #define QD_MAPDEVICE	_IOR('g', 9, struct qdmap) /* map device to user */
7333096Sbostic #define QD_MAPIOBUF 	_IOWR('g', 10, caddr_t)     /* map DMA iobuf to user */
7433096Sbostic #define QD_MAPEVENT	_IOR('g', 11, caddr_t)     /* map event queue to user */
7533096Sbostic #define QD_PRGCURSOR	_IOW('g', 12, struct prg_cursor) /* program cursor */
7633096Sbostic #define QD_RESET	_IO('g', 13)  	    /* set device & driver defaults */
7733096Sbostic #define QD_POSCURSOR	_IOW('g', 14, struct _vs_cursor) /* position cursor */
7833096Sbostic #define QD_SET		_IO('g', 15)  	    /* set DUART & driver defaults */
7933096Sbostic #define QD_MAPSCROLL    _IOR('g', 16, caddr_t)  /* map scroll param area */
8033096Sbostic #define QD_UNMAPSCROLL  _IO('g', 17)            /* unmap scroll param area */
8133096Sbostic #define QD_MAPCOLOR     _IOR('g', 18, caddr_t)  /* map color map write buf */
8233096Sbostic #define QD_UNMAPCOLOR   _IO('g', 19)            /* unmap color map write buf */
8333096Sbostic #define QD_KERN_LOOP    _IO('g', 20)       /* detour kernel console output */
8433096Sbostic #define QD_KERN_UNLOOP  _IO('g', 21)       /* un-detour kernel console output */
8533096Sbostic #define QD_PRGTABRES	_IOW('g', 22, short) /* program tablet resolution */
86