summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi/scsi_all.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-10-06 12:48:10 +0000
committermav <mav@FreeBSD.org>2014-10-06 12:48:10 +0000
commit994e3ee5d09c92eee8f60a8711abbb9c7cdc4156 (patch)
tree9150da53e2d3d71f10fe33f2ba7bb4e9337cecb9 /sys/cam/scsi/scsi_all.h
parentdba3e8e2f06d1541796435fd3761fb63f75491d6 (diff)
downloadFreeBSD-src-994e3ee5d09c92eee8f60a8711abbb9c7cdc4156.zip
FreeBSD-src-994e3ee5d09c92eee8f60a8711abbb9c7cdc4156.tar.gz
MFC r271313: Oops, missed piece of r271311.
Diffstat (limited to 'sys/cam/scsi/scsi_all.h')
-rw-r--r--sys/cam/scsi/scsi_all.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h
index df4a7c8..3d7b329 100644
--- a/sys/cam/scsi/scsi_all.h
+++ b/sys/cam/scsi/scsi_all.h
@@ -2110,6 +2110,27 @@ struct scsi_service_action_in
uint8_t control;
};
+struct scsi_vpd_mode_page_policy_descr
+{
+ uint8_t page_code;
+ uint8_t subpage_code;
+ uint8_t policy;
+#define SVPD_MPP_SHARED 0x00
+#define SVPD_MPP_PORT 0x01
+#define SVPD_MPP_I_T 0x03
+#define SVPD_MPP_MLUS 0x80
+ uint8_t reserved;
+};
+
+struct scsi_vpd_mode_page_policy
+{
+ uint8_t device;
+ uint8_t page_code;
+#define SVPD_MODE_PAGE_POLICY 0x87
+ uint8_t page_length[2];
+ struct scsi_vpd_mode_page_policy_descr descr[0];
+};
+
struct scsi_diag_page {
uint8_t page_code;
uint8_t page_specific_flags;
OpenPOWER on IntegriCloud