lib: Parse sense specific descriptor

Extend struct scsi_sense with sense specific descriptor information,
introduce the function scsi_parse_sense_data() and let that function
parse the sense specific descriptor.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-04-21 14:13:15 +02:00
committed by Ronnie Sahlberg
parent fbc87ab12f
commit 8435f9722e
5 changed files with 72 additions and 28 deletions

View File

@@ -216,6 +216,7 @@ scsi_inquiry_pagecode_to_str
scsi_malloc
scsi_modesense_dataout_marshall
scsi_modesense_get_page
scsi_parse_sense_data
scsi_protocol_identifier_to_str
scsi_reportluns_cdb
scsi_sense_ascq_str