Go to the documentation of this file.
13 #define MEDIUM_SENSE 0xc2
14 #define READ_PREVIOUS 0x0a
15 #define MODE_SENSE 0xcf
16 #define PERFORM_SS_FUNC 0x77
17 #define READ_SS_DATA 0x3e
19 #define PREP_RD_SS_DATA 0x18
22 #define SENSE_BRA_PER 0
23 #define SENSE_BRA_CONT 1
24 #define SENSE_BRA_RE 2
25 #define SENSE_BRA_DRE 3
27 #define SENSE_FMT_LIBRARY 0x23
28 #define SENSE_FMT_UNSOLICITED 0x40
29 #define SENSE_FMT_COMMAND_REJ 0x41
30 #define SENSE_FMT_COMMAND_EXEC0 0x50
31 #define SENSE_FMT_COMMAND_EXEC1 0x51
32 #define SENSE_FMT_EVENT0 0x60
33 #define SENSE_FMT_EVENT1 0x61
34 #define SENSE_FMT_MIM 0x70
35 #define SENSE_FMT_SIM 0x71
37 #define MSENSE_UNASSOCIATED 0x00
38 #define MSENSE_ASSOCIATED_MOUNT 0x01
39 #define MSENSE_ASSOCIATED_UMOUNT 0x02
40 #define MSENSE_CRYPT_MASK 0x00000010
42 #define TAPE_3590_MAX_MSG 0xb0
51 #define TAPE_3590_CRYPT_INFO(device) \
52 ((struct tape_3590_disc_data*)(device->discdata))->crypt_info
53 #define TAPE_3590_READ_BACK_OP(device) \
54 ((struct tape_3590_disc_data*)(device->discdata))->read_back_op