diff options
author | Hannes Reinecke <hare@suse.de> | 2014-11-17 08:25:20 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 14:01:44 -0500 |
commit | 85686f696d81a4bcfa5e51ee9ee2b6aae5531c6f (patch) | |
tree | e68061922f93ac41234cd32fd318527d043030e7 /tools/lib/traceevent | |
parent | eb846d9f147455e4e5e1863bfb5e31974bb69b7c (diff) |
scsi: add SPC-3 command definitions
SPC-3 defines SERVICE ACTION IN(12), SERVICE_ACTION OUT(12),
SERVICE ACTION OUT(16), and SERVICE ACTION BIDIRECTIONAL.
And READ MEDIA SERIAL NUMBER has long since been deprecated.
So update callers to refer to the new cdb name.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Tested-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/lib/traceevent')
-rw-r--r-- | tools/lib/traceevent/plugin_scsi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_scsi.c b/tools/lib/traceevent/plugin_scsi.c index c699f477a101..3727de48c8d5 100644 --- a/tools/lib/traceevent/plugin_scsi.c +++ b/tools/lib/traceevent/plugin_scsi.c | |||
@@ -85,8 +85,9 @@ typedef unsigned int u32; | |||
85 | #define MOVE_MEDIUM 0xa5 | 85 | #define MOVE_MEDIUM 0xa5 |
86 | #define EXCHANGE_MEDIUM 0xa6 | 86 | #define EXCHANGE_MEDIUM 0xa6 |
87 | #define READ_12 0xa8 | 87 | #define READ_12 0xa8 |
88 | #define SERVICE_ACTION_OUT_12 0xa9 | ||
88 | #define WRITE_12 0xaa | 89 | #define WRITE_12 0xaa |
89 | #define READ_MEDIA_SERIAL_NUMBER 0xab | 90 | #define SERVICE_ACTION_IN_12 0xab |
90 | #define WRITE_VERIFY_12 0xae | 91 | #define WRITE_VERIFY_12 0xae |
91 | #define VERIFY_12 0xaf | 92 | #define VERIFY_12 0xaf |
92 | #define SEARCH_HIGH_12 0xb0 | 93 | #define SEARCH_HIGH_12 0xb0 |
@@ -107,7 +108,9 @@ typedef unsigned int u32; | |||
107 | #define VERIFY_16 0x8f | 108 | #define VERIFY_16 0x8f |
108 | #define SYNCHRONIZE_CACHE_16 0x91 | 109 | #define SYNCHRONIZE_CACHE_16 0x91 |
109 | #define WRITE_SAME_16 0x93 | 110 | #define WRITE_SAME_16 0x93 |
111 | #define SERVICE_ACTION_BIDIRECTIONAL 0x9d | ||
110 | #define SERVICE_ACTION_IN_16 0x9e | 112 | #define SERVICE_ACTION_IN_16 0x9e |
113 | #define SERVICE_ACTION_OUT_16 0x9f | ||
111 | /* values for service action in */ | 114 | /* values for service action in */ |
112 | #define SAI_READ_CAPACITY_16 0x10 | 115 | #define SAI_READ_CAPACITY_16 0x10 |
113 | #define SAI_GET_LBA_STATUS 0x12 | 116 | #define SAI_GET_LBA_STATUS 0x12 |