svn commit: r312553 - head/sys/cam/scsi

Alan Somers asomers at FreeBSD.org
Fri Jan 20 17:54:25 UTC 2017


Author: asomers
Date: Fri Jan 20 17:54:24 2017
New Revision: 312553
URL: https://svnweb.freebsd.org/changeset/base/312553

Log:
  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:
  head/sys/cam/scsi/scsi_all.h

Modified: head/sys/cam/scsi/scsi_all.h
==============================================================================
--- head/sys/cam/scsi/scsi_all.h	Fri Jan 20 17:43:36 2017	(r312552)
+++ head/sys/cam/scsi/scsi_all.h	Fri Jan 20 17:54:24 2017	(r312553)
@@ -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-head mailing list