Author: ken
Date: Fri May  5 20:21:13 2017
New Revision: 317850
URL: https://svnweb.freebsd.org/changeset/base/317850

Log:
  MFC r317680:
  
    Add the SCSI SSC Manufacturer assigned serial number VPD page.
  
    This is current as of SSC-5r03.
  
  Submitted by: Sam Klopsch
  Sponsored by: Spectra Logic

Modified:
  stable/11/sys/cam/scsi/scsi_sa.h

Modified: stable/11/sys/cam/scsi/scsi_sa.h
==============================================================================
--- stable/11/sys/cam/scsi/scsi_sa.h    Fri May  5 20:06:49 2017        
(r317849)
+++ stable/11/sys/cam/scsi/scsi_sa.h    Fri May  5 20:21:13 2017        
(r317850)
@@ -487,6 +487,19 @@ struct scsi_medium_type_data {
 };
 
 /*
+ * Manufacturer-assigned Serial Number VPD page.
+ * Current as of SSC-5r03, 28 September 2016.
+ */
+struct scsi_vpd_mfg_serial_number
+{
+       u_int8_t device;
+       u_int8_t page_code;
+#define        SVPD_MFG_SERIAL_NUMBER_PAGE_CODE 0xB1
+       u_int8_t page_length[2];
+       u_int8_t mfg_serial_num[];
+};
+
+/*
  * Security Protocol Specific values for the Tape Data Encryption protocol
  * (0x20) used with SECURITY PROTOCOL IN.  See below for values used with
  * SECURITY PROTOCOL OUT.  Current as of SSC4r03.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to