summaryrefslogtreecommitdiff
path: root/include/linux/mtio.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:32:43 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:32:43 -0800
commita8a2069f432c5597bdf9c83ab3045b9ef32ab5e3 (patch)
tree06d1047415e70b9a6cbd0567ae1202433530dd46 /include/linux/mtio.h
parent5db5272c0a5cd37e5a697e4750fbc4ce6317b7dc (diff)
v2.4.14.1 -> v2.4.14.2
- Ivan Kokshaysky: fix alpha dec_and_lock with modules, for alpha config entry - Kai Germaschewski: ISDN updates - Jeff Garzik: network driver updates, sysv fs update - Kai Mäkisara: SCSI tape update - Alan Cox: large drivers merge - Nikita Danilov: reiserfs procfs information - Andrew Morton: ext3 merge - Christoph Hellwig: vxfs livelock fix - Trond Myklebust: NFS updates - Jens Axboe: cpqarray + cciss dequeue fix - Tim Waugh: parport_serial base_baud setting - Matthew Dharm: usb-storage Freecom driver fixes - Dave McCracken: wait4() thread group race fix
Diffstat (limited to 'include/linux/mtio.h')
-rw-r--r--include/linux/mtio.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mtio.h b/include/linux/mtio.h
index 8b0f4aa64f85..692088c6361d 100644
--- a/include/linux/mtio.h
+++ b/include/linux/mtio.h
@@ -325,7 +325,8 @@ struct mtftcmd {
#define GMT_DR_OPEN(x) ((x) & 0x00040000) /* door open (no tape) */
/* #define GMT_ ? ((x) & 0x00020000) */
#define GMT_IM_REP_EN(x) ((x) & 0x00010000) /* immediate report mode */
-/* 16 generic status bits unused */
+#define GMT_CLN(x) ((x) & 0x00008000) /* cleaning requested */
+/* 15 generic status bits unused */
/* SCSI-tape specific definitions */
@@ -349,6 +350,7 @@ struct mtftcmd {
#define MT_ST_TIMEOUTS 0x70000000
#define MT_ST_SET_TIMEOUT (MT_ST_TIMEOUTS | 0x000000)
#define MT_ST_SET_LONG_TIMEOUT (MT_ST_TIMEOUTS | 0x100000)
+#define MT_ST_SET_CLN 0x80000000
#define MT_ST_BUFFER_WRITES 0x1
#define MT_ST_ASYNC_WRITES 0x2
@@ -363,6 +365,7 @@ struct mtftcmd {
#define MT_ST_CAN_PARTITIONS 0x400
#define MT_ST_SCSI2LOGICAL 0x800
#define MT_ST_SYSV 0x1000
+#define MT_ST_NOWAIT 0x2000
/* The mode parameters to be controlled. Parameter chosen with bits 20-28 */
#define MT_ST_CLEAR_DEFAULT 0xfffff