projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a20ff
)
scsi: core: Add VENDOR_SPECIFIC sense code definitions
author
Hannes Reinecke
<
[email protected]
>
Fri, 19 Jan 2018 15:11:10 +0000
(16:11 +0100)
committer
Martin K. Petersen
<
[email protected]
>
Tue, 23 Jan 2018 01:04:02 +0000
(20:04 -0500)
Some older devices will return vendor specific sense codes, so we should
be adding a definition for it.
Signed-off-by: Hannes Reinecke <
[email protected]
>
Reviewed-by: Bart Van Assche <
[email protected]
>
Signed-off-by: Martin K. Petersen <
[email protected]
>
include/scsi/scsi_proto.h
patch
|
blob
|
history
diff --git
a/include/scsi/scsi_proto.h
b/include/scsi/scsi_proto.h
index 1df8efb0ee0186988de864f91ec10cadb5010834..c3686011193224e7ace9093de0d13b2cecf5996d 100644
(file)
--- a/
include/scsi/scsi_proto.h
+++ b/
include/scsi/scsi_proto.h
@@
-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