summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/st.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/st.h')
-rw-r--r--drivers/scsi/st.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h
index d2b66f9bc..e6632159e 100644
--- a/drivers/scsi/st.h
+++ b/drivers/scsi/st.h
@@ -27,6 +27,7 @@ typedef struct {
Scsi_Device* device;
unsigned char dirty;
unsigned char rw;
+ unsigned char ready;
unsigned char eof;
unsigned char write_prot;
unsigned char drv_write_prot;
@@ -37,6 +38,7 @@ typedef struct {
unsigned char do_async_writes;
unsigned char do_read_ahead;
unsigned char two_fm;
+ unsigned char fast_mteom;
unsigned char density;
ST_buffer * buffer;
int block_size;
@@ -46,6 +48,7 @@ typedef struct {
int recover_count;
int drv_block; /* The block where the drive head is */
unsigned char moves_after_eof;
+ unsigned char at_sm;
struct mtget * mt_status;
Scsi_Cmnd SCpnt;
} Scsi_Tape;
@@ -62,6 +65,11 @@ typedef struct {
#define ST_READING 1
#define ST_WRITING 2
+/* Values of ready state */
+#define ST_READY 0
+#define ST_NOT_READY 1
+#define ST_NO_TAPE 2
+
/* Positioning SCSI-commands for Tandberg, etc. drives */
#define QFA_REQUEST_BLOCK 0x02
#define QFA_SEEK_BLOCK 0x0c