From e1ff6f824c427eed4447f1b010df6999c319bd5a Mon Sep 17 00:00:00 2001 From: ken Date: Tue, 2 May 2017 14:52:28 +0000 Subject: [PATCH] Add the SCSI SSC Manufacturer assigned serial number VPD page. This is current as of SSC-5r03. Submitted by: Sam Klopsch MFC after: 3 days --- sys/cam/scsi/scsi_sa.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sys/cam/scsi/scsi_sa.h b/sys/cam/scsi/scsi_sa.h index 6ecef659844c..3e414611ab4d 100644 --- a/sys/cam/scsi/scsi_sa.h +++ b/sys/cam/scsi/scsi_sa.h @@ -486,6 +486,19 @@ struct scsi_medium_type_data { u_int8_t description[20]; }; +/* + * 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