Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 17:54:24 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312553 - head/sys/cam/scsi
Message-ID:  <201701201754.v0KHsORL056081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701201754.v0KHsORL056081>