BSD 4_3_Tahoe release
[unix-history] / usr / src / sys / h / mtio.h
index 6647b33..636b2f2 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)mtio.h      7.1 (Berkeley) 6/4/86
+ *     @(#)mtio.h      7.3 (Berkeley) 12/18/87
  */
 
 /*
  */
 
 /*
@@ -55,12 +55,13 @@ struct      mtget   {
 #define        MT_ISCPC        0x06            /* SUN */
 #define        MT_ISAR         0x07            /* SUN */
 #define        MT_ISTMSCP      0x08            /* DEC TMSCP protocol (TU81, TK50) */
 #define        MT_ISCPC        0x06            /* SUN */
 #define        MT_ISAR         0x07            /* SUN */
 #define        MT_ISTMSCP      0x08            /* DEC TMSCP protocol (TU81, TK50) */
+#define        MT_ISCY         0x09            /* CCI Cipher */
 
 /* mag tape io control commands */
 
 /* mag tape io control commands */
-#define        MTIOCTOP        _IOW(m, 1, struct mtop)         /* do a mag tape op */
-#define        MTIOCGET        _IOR(m, 2, struct mtget)        /* get tape status */
-#define MTIOCIEOT      _IO(m, 3)                       /* ignore EOT error */
-#define MTIOCEEOT      _IO(m, 4)                       /* enable EOT error */
+#define        MTIOCTOP        _IOW('m', 1, struct mtop)       /* do a mag tape op */
+#define        MTIOCGET        _IOR('m', 2, struct mtget)      /* get tape status */
+#define MTIOCIEOT      _IO('m', 3)                     /* ignore EOT error */
+#define MTIOCEEOT      _IO('m', 4)                     /* enable EOT error */
 
 #ifndef KERNEL
 #define        DEFTAPE "/dev/rmt12"
 
 #ifndef KERNEL
 #define        DEFTAPE "/dev/rmt12"