patch-1.3.22 linux/include/linux/mtio.h
Next file: linux/include/linux/netdevice.h
Previous file: linux/include/linux/mroute.h
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Thu Aug 31 07:44:09 1995
- Orig file:
v1.3.21/linux/include/linux/mtio.h
- Orig date:
Tue Jun 27 14:11:46 1995
diff -u --recursive --new-file v1.3.21/linux/include/linux/mtio.h linux/include/linux/mtio.h
@@ -1,5 +1,4 @@
-/* $Id: /usr/src/linux-1.1.64/include/linux/mtio.h at Tue Jan 10 21:02:51 1995 by [email protected]$
- *
+/*
* linux/mtio.h header file for Linux. Written by H. Bergman
*/
@@ -43,7 +42,6 @@
#define MTRAS2 15 /* run self test 2 (destructive) */
#define MTRAS3 16 /* reserved for self test 3 */
-
#define MTSETBLK 20 /* set block length (SCSI) */
#define MTSETDENSITY 21 /* set tape density (SCSI) */
#define MTSEEK 22 /* seek to block (Tandberg, etc.) */
@@ -54,6 +52,12 @@
#define MTBSS 26 /* space backward over setmarks */
#define MTWSM 27 /* write setmarks */
+#define MTLOCK 28 /* lock the drive door */
+#define MTUNLOCK 29 /* unlock the drive door */
+#define MTLOAD 30 /* execute the SCSI load command */
+#define MTUNLOAD 31 /* execute the SCSI unload command */
+
+
/* structure for MTIOCGET - mag tape get status command */
struct mtget {
@@ -195,5 +199,6 @@
#define MT_ST_DEBUGGING 0x8
#define MT_ST_TWO_FM 0x10
#define MT_ST_FAST_MTEOM 0x20
+#define MT_ST_AUTO_LOCK 0x40
#endif /* _LINUX_MTIO_H */
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this