xref: /csrg-svn/sys/vax/uba/qdioctl.h (revision 33096)
133095Sbostic 
233095Sbostic /*
333095Sbostic  * QDSS IOCTL definitions
4*33096Sbostic  *	@(#)qdioctl.h	1.2 (Berkeley) 12/22/87
533095Sbostic  */
633095Sbostic 
733095Sbostic /* static	char	*sccsid = "@(#)qdioctl.h	1.1	(ULTRIX)	8/22/85"; */
833095Sbostic 
933095Sbostic /************************************************************************
1033095Sbostic  *									*
1133095Sbostic  *			Copyright (c) 1985 by				*
1233095Sbostic  *		Digital Equipment Corporation, Maynard, MA		*
1333095Sbostic  *			All rights reserved.				*
1433095Sbostic  *									*
1533095Sbostic  *   This software is furnished under a license and may be used and	*
1633095Sbostic  *   copied  only  in accordance with the terms of such license and	*
1733095Sbostic  *   with the  inclusion  of  the  above  copyright  notice.   This	*
1833095Sbostic  *   software  or  any  other copies thereof may not be provided or	*
1933095Sbostic  *   otherwise made available to any other person.  No title to and	*
2033095Sbostic  *   ownership of the software is hereby transferred.			*
2133095Sbostic  *									*
2233095Sbostic  *   This software is  derived  from  software  received  from  the	*
2333095Sbostic  *   University    of   California,   Berkeley,   and   from   Bell	*
2433095Sbostic  *   Laboratories.  Use, duplication, or disclosure is  subject  to	*
2533095Sbostic  *   restrictions  under  license  agreements  with  University  of	*
2633095Sbostic  *   California and with AT&T.						*
2733095Sbostic  *									*
2833095Sbostic  *   The information in this software is subject to change  without	*
2933095Sbostic  *   notice  and should not be construed as a commitment by Digital	*
3033095Sbostic  *   Equipment Corporation.						*
3133095Sbostic  *									*
3233095Sbostic  *   Digital assumes no responsibility for the use  or  reliability	*
3333095Sbostic  *   of its software on equipment which is not supplied by Digital.	*
3433095Sbostic  *									*
3533095Sbostic  ************************************************************************/
3633095Sbostic /***************************************************************************
3733095Sbostic *	revision history:
3833095Sbostic ****************************************************************************
3933095Sbostic *
4033095Sbostic * 22 oct 85  longo  fixed QD_PRGTABRES cmd number to be 22 instead of 12
4133095Sbostic * 14 oct 85  longo  added QD_KERN_LOOP and QD_KERN_UNLOOP
4233095Sbostic * 02 oct 85  longo  added QD_MAPCOLOR and QD_UNMAPCOLOR
4333095Sbostic * 17 sep 85  longo  made QD_MAPIOBUF a read/write command type
4433095Sbostic *
4533095Sbostic ***************************************************************************/
4633095Sbostic 
4733095Sbostic 
4833095Sbostic #ifdef KERNEL
4933095Sbostic #include "../h/ioctl.h"
5033095Sbostic #else
5133095Sbostic #include <sys/ioctl.h>
5233095Sbostic #endif
5333095Sbostic 
5433095Sbostic 
55*33096Sbostic #define QD_GETEVENT	_IOR('g', 1, struct _vs_event) /* get oldest event */
56*33096Sbostic #define QD_WTCURSOR	_IOW('g', 2, short[32])       /* write cursor bitmap */
57*33096Sbostic #define QD_RDCURSOR	_IOR('g', 3, 64)           /* read cursor bitmap */
58*33096Sbostic #define QD_CLRSCRN	_IO('g', 4) 		/* clear the screen */
59*33096Sbostic #define QD_RDCONFIG	_IOR('g', 5, short)        /* read QDSS configuration */
60*33096Sbostic #define QD_PRGMOUSE	_IOW('g', 6, char)	/* program mouse */
61*33096Sbostic #define QD_PRGTABLET	_IOW('g', 7, char) 	/* program tablet */
62*33096Sbostic #define QD_PRGKBD	_IOW('g', 8, struct prgkbd) /* program LK201 kbd */
63*33096Sbostic #define QD_MAPDEVICE	_IOR('g', 9, struct qdmap) /* map device to user */
64*33096Sbostic #define QD_MAPIOBUF 	_IOWR('g', 10, caddr_t)     /* map DMA iobuf to user */
65*33096Sbostic #define QD_MAPEVENT	_IOR('g', 11, caddr_t)     /* map event queue to user */
66*33096Sbostic #define QD_PRGCURSOR	_IOW('g', 12, struct prg_cursor) /* program cursor */
67*33096Sbostic #define QD_RESET	_IO('g', 13)  	    /* set device & driver defaults */
68*33096Sbostic #define QD_POSCURSOR	_IOW('g', 14, struct _vs_cursor) /* position cursor */
69*33096Sbostic #define QD_SET		_IO('g', 15)  	    /* set DUART & driver defaults */
70*33096Sbostic #define QD_MAPSCROLL    _IOR('g', 16, caddr_t)  /* map scroll param area */
71*33096Sbostic #define QD_UNMAPSCROLL  _IO('g', 17)            /* unmap scroll param area */
72*33096Sbostic #define QD_MAPCOLOR     _IOR('g', 18, caddr_t)  /* map color map write buf */
73*33096Sbostic #define QD_UNMAPCOLOR   _IO('g', 19)            /* unmap color map write buf */
74*33096Sbostic #define QD_KERN_LOOP    _IO('g', 20)       /* detour kernel console output */
75*33096Sbostic #define QD_KERN_UNLOOP  _IO('g', 21)       /* un-detour kernel console output */
76*33096Sbostic #define QD_PRGTABRES	_IOW('g', 22, short) /* program tablet resolution */
77