aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/scsi/scsi_all.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-09-24 07:16:34 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-09-24 07:16:34 +0000
commitde988746bed395ce1a4acb64915f2a062a0b1048 (patch)
treee5a2b93f3fb8ba78dc3a23b38202683db5fc0917 /sys/cam/scsi/scsi_all.h
parent64d6acd5e73669079b84082f59626f1cf31ab652 (diff)
downloadsrc-de988746bed395ce1a4acb64915f2a062a0b1048.tar.gz
src-de988746bed395ce1a4acb64915f2a062a0b1048.zip
Add support for READ BUFFER(16) command.
Notes
Notes: svn path=/head/; revision=288165
Diffstat (limited to 'sys/cam/scsi/scsi_all.h')
-rw-r--r--sys/cam/scsi/scsi_all.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h
index 4f1b5b399fd3..e8fd5fe24bf3 100644
--- a/sys/cam/scsi/scsi_all.h
+++ b/sys/cam/scsi/scsi_all.h
@@ -1002,6 +1002,16 @@ struct scsi_read_buffer
u_int8_t control;
};
+struct scsi_read_buffer_16
+{
+ uint8_t opcode;
+ uint8_t byte2;
+ uint8_t offset[8];
+ uint8_t length[4];
+ uint8_t buffer_id;
+ uint8_t control;
+};
+
struct scsi_write_buffer
{
u_int8_t opcode;
@@ -1988,6 +1998,7 @@ struct ata_pass_16 {
#define VERIFY_16 0x8F
#define SYNCHRONIZE_CACHE_16 0x91
#define WRITE_SAME_16 0x93
+#define READ_BUFFER_16 0x9B
#define WRITE_ATOMIC_16 0x9C
#define SERVICE_ACTION_IN 0x9E
#define REPORT_LUNS 0xA0