Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2017 23:26:50 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r314433 - stable/11/sys/cam/scsi
Message-ID:  <201702282326.v1SNQorv098582@repo.freebsd.org>

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



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