TESTS: Add a test for D_SENSE in the CONTROL mode page

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
Ronnie Sahlberg
2015-04-19 18:20:12 -07:00
parent 669998e9d7
commit b6fc366b5c
5 changed files with 117 additions and 0 deletions

View File

@@ -245,6 +245,11 @@ struct scsi_report_supported_params {
int return_timeouts;
};
#define SCSI_SENSE_FIXED_CURRENT 0x70
#define SCSI_SENSE_FIXED_DEFERRED_ERRORS 0x71
#define SCSI_SENSE_DESCRIPTOR_CURRENT 0x72
#define SCSI_SENSE_DESCRIPTOR_DEFERRED_ERRORS 0x73
struct scsi_sense {
unsigned char error_type;
enum scsi_sense_key key;