summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2017-02-28 23:26:50 +0000
committerasomers <asomers@FreeBSD.org>2017-02-28 23:26:50 +0000
commitfef59f47ab70d2f1af4a1e37874584ef72264896 (patch)
tree2fe6423517384480bdfe5bf84b99abd397617f51
parent6f58055068328cf7584c89254aef8552f6000c03 (diff)
downloadFreeBSD-src-fef59f47ab70d2f1af4a1e37874584ef72264896.zip
FreeBSD-src-fef59f47ab70d2f1af4a1e37874584ef72264896.tar.gz
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
-rw-r--r--sys/cam/scsi/scsi_all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h
index 64c45fb..f85d285 100644
--- a/sys/cam/scsi/scsi_all.h
+++ b/sys/cam/scsi/scsi_all.h
@@ -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
OpenPOWER on IntegriCloud