svn commit: r272624 - stable/10/sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Mon Oct 6 12:48:11 UTC 2014


Author: mav
Date: Mon Oct  6 12:48:10 2014
New Revision: 272624
URL: https://svnweb.freebsd.org/changeset/base/272624

Log:
  MFC r271313: Oops, missed piece of r271311.

Modified:
  stable/10/sys/cam/scsi/scsi_all.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/scsi/scsi_all.h
==============================================================================
--- stable/10/sys/cam/scsi/scsi_all.h	Mon Oct  6 12:42:06 2014	(r272623)
+++ stable/10/sys/cam/scsi/scsi_all.h	Mon Oct  6 12:48:10 2014	(r272624)
@@ -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;


More information about the svn-src-all mailing list