Skip to content

Commit

Permalink
scsi: core: Add VENDOR_SPECIFIC sense code definitions
Browse files Browse the repository at this point in the history
Some older devices will return vendor specific sense codes, so we should
be adding a definition for it.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Hannes Reinecke authored and Martin K. Petersen committed Jan 23, 2018
1 parent a1a20ff commit 9c661a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/scsi/scsi_proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ struct scsi_varlen_cdb_hdr {
#define UNIT_ATTENTION 0x06
#define DATA_PROTECT 0x07
#define BLANK_CHECK 0x08
#define VENDOR_SPECIFIC 0x09
#define COPY_ABORTED 0x0a
#define ABORTED_COMMAND 0x0b
#define VOLUME_OVERFLOW 0x0d
Expand Down

0 comments on commit 9c661a4

Please sign in to comment.