X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/95f51977ddc18faa2e212f30c00a39540b39f325..ca67e7b465996afb3821d6a075c4dc6a7f0f5d52:/usr/src/sys/h/mtio.h diff --git a/usr/src/sys/h/mtio.h b/usr/src/sys/h/mtio.h index 6647b33cf9..636b2f2a0b 100644 --- a/usr/src/sys/h/mtio.h +++ b/usr/src/sys/h/mtio.h @@ -3,7 +3,7 @@ * 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_ISCY 0x09 /* CCI Cipher */ /* 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"