svn commit: r314433 - stable/11/sys/cam/scsi

Alan Somers asomers at FreeBSD.org
Tue Feb 28 23:26:52 UTC 2017


Author: asomers
Date: Tue Feb 28 23:26:50 2017
New Revision: 314433
URL: https://svnweb.freebsd.org/changeset/base/314433

Log:
  MFC r312553:
  
  Fix "camcontrol timestamp -s" with LTO-7 drives
  
  The length of the scsi_set_timestamp_parameters struct was incorrect.  LTO-5
  drives don't care, but LTO-7 drives do.
  
  Reviewed by:	Sam Klopsch
  MFC after:	2 weeks
  Sponsored by:	Spectra Logic Corp

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

Modified: stable/11/sys/cam/scsi/scsi_all.h
==============================================================================
--- stable/11/sys/cam/scsi/scsi_all.h	Tue Feb 28 23:24:08 2017	(r314432)
+++ stable/11/sys/cam/scsi/scsi_all.h	Tue Feb 28 23:26:50 2017	(r314433)
@@ -3039,7 +3039,7 @@ struct scsi_set_timestamp_parameters
 {
 	uint8_t reserved1[4];
 	uint8_t timestamp[6];
-	uint8_t reserved2[4];
+	uint8_t reserved2[2];
 };
 
 struct scsi_report_timestamp_parameter_data


More information about the svn-src-all mailing list