Date: Tue, 14 Oct 2014 08:30:02 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273072 - in head: share/misc sys/cam/scsi Message-ID: <201410140830.s9E8U2wa089756@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410140830.s9E8U2wa089756>