Go to the documentation of this file.
76 #define ST_NBR_MODE_BITS 2
77 #define ST_NBR_MODES (1 << ST_NBR_MODE_BITS)
78 #define ST_MODE_SHIFT (7 - ST_NBR_MODE_BITS)
79 #define ST_MODE_MASK ((ST_NBR_MODES - 1) << ST_MODE_SHIFT)
81 #define ST_MAX_TAPES (1 << (20 - (ST_NBR_MODE_BITS + 1)))
82 #define ST_MAX_TAPE_ENTRIES (ST_MAX_TAPES << (ST_NBR_MODE_BITS + 1))
95 #define ST_NBR_PARTITIONS 4
169 unsigned char last_cmnd[6];
170 unsigned char last_sense[16];
185 #define ST_EOM_ERROR 4
202 #define ST_NOT_READY 1
206 #define ST_UNLOCKED 0
207 #define ST_LOCKED_EXPLICIT 1
208 #define ST_LOCKED_AUTO 2
209 #define ST_LOCK_FAILS 3
212 #define QFA_REQUEST_BLOCK 0x02
213 #define QFA_SEEK_BLOCK 0x0c
216 #define ST_DONT_TOUCH 0
220 #define EXTENDED_SENSE_START 18
223 #define SENSE_FMK 0x80
224 #define SENSE_EOM 0x40
225 #define SENSE_ILI 0x20