svn commit: r273072 - in head: share/misc sys/cam/scsi

Alexander Motin mav at FreeBSD.org
Tue Oct 14 08:30:03 UTC 2014


Author: mav
Date: Tue Oct 14 08:30:02 2014
New Revision: 273072
URL: https://svnweb.freebsd.org/changeset/base/273072

Log:
  Add LBPERE mode bit definition.

Modified:
  head/share/misc/scsi_modes
  head/sys/cam/scsi/scsi_da.h

Modified: head/share/misc/scsi_modes
==============================================================================
--- head/share/misc/scsi_modes	Tue Oct 14 07:52:37 2014	(r273071)
+++ head/share/misc/scsi_modes	Tue Oct 14 08:30:02 2014	(r273072)
@@ -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: head/sys/cam/scsi/scsi_da.h
==============================================================================
--- head/sys/cam/scsi/scsi_da.h	Tue Oct 14 07:52:37 2014	(r273071)
+++ head/sys/cam/scsi/scsi_da.h	Tue Oct 14 08:30:02 2014	(r273072)
@@ -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-head mailing list