svn commit: r273325 - in stable/10: share/misc sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Mon Oct 20 08:09:37 UTC 2014


Author: mav
Date: Mon Oct 20 08:09:36 2014
New Revision: 273325
URL: https://svnweb.freebsd.org/changeset/base/273325

Log:
  MFC r273072:  Add LBPERE mode bit definition.

Modified:
  stable/10/share/misc/scsi_modes
  stable/10/sys/cam/scsi/scsi_da.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/share/misc/scsi_modes
==============================================================================
--- stable/10/share/misc/scsi_modes	Mon Oct 20 08:08:43 2014	(r273324)
+++ stable/10/share/misc/scsi_modes	Mon Oct 20 08:09:36 2014	(r273325)
@@ -223,7 +223,8 @@
 	{Correction Span} i1
 	{Head Offset Count} i1
 	{Data Strobe Offset Count} i1
-	{Reserved} *i1
+	{LBPERE (LBP Error Reporting Enabled)} t1
+	{Reserved} *t7
 	{Write Retry Count} i1
 	{Reserved} *i1
 	{Recovery Time Limit} i2

Modified: stable/10/sys/cam/scsi/scsi_da.h
==============================================================================
--- stable/10/sys/cam/scsi/scsi_da.h	Mon Oct 20 08:08:43 2014	(r273324)
+++ stable/10/sys/cam/scsi/scsi_da.h	Mon Oct 20 08:09:36 2014	(r273325)
@@ -527,7 +527,8 @@ struct scsi_da_rw_recovery_page {
 	u_int8_t correction_span;
 	u_int8_t head_offset_count;
 	u_int8_t data_strobe_offset_cnt;
-	u_int8_t reserved;
+	u_int8_t byte8;
+#define SMS_RWER_LBPERE			0x80
 	u_int8_t write_retry_count;
 	u_int8_t reserved2;
 	u_int8_t recovery_time_limit[2];


More information about the svn-src-all mailing list