add USL's copyright notice
[unix-history] / usr / src / sys / vax / uba / qdioctl.h
index 8fdc75d..8f11d48 100644 (file)
@@ -1,10 +1,24 @@
+/*-
+ * 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.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)qdioctl.h   7.2 (Berkeley) %G%
+ */
 
 
+/*
+ *     derived from: qdioctl.h 1.1     (ULTRIX)        8/22/85
+ */
 /*
  * QDSS IOCTL definitions
 /*
  * QDSS IOCTL definitions
- *     @(#)qdioctl.h   1.1 (Berkeley) %G%
  */
 
  */
 
-/* static      char    *sccsid = "@(#)qdioctl.h        1.1     (ULTRIX)        8/22/85"; */
 
 /************************************************************************
  *                                                                     *
 
 /************************************************************************
  *                                                                     *
@@ -34,7 +48,7 @@
  *                                                                     *
  ************************************************************************/
 /***************************************************************************
  *                                                                     *
  ************************************************************************/
 /***************************************************************************
-*      revision history:
+*      revision history: (belongs in sccs)
 ****************************************************************************
 *
 * 22 oct 85  longo  fixed QD_PRGTABRES cmd number to be 22 instead of 12
 ****************************************************************************
 *
 * 22 oct 85  longo  fixed QD_PRGTABRES cmd number to be 22 instead of 12
 
 
 #ifdef KERNEL
 
 
 #ifdef KERNEL
-#include "../h/ioctl.h"
+#include "sys/ioctl.h"
 #else
 #include <sys/ioctl.h>
 #endif
 
 
 #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 */
+#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 */