freebsd-skq/sbin/camcontrol
ngie 8c5f7fac71 MFC r289913,r289916:
r289913:

Use 't' (bits) not 'i' (bytes) for describing MRIE (aka
"Method of Reporting Informational Exceptions") in the SCSI mode database as
the field described in X3T10/94-190 (revision 4; page 2, table 1) [1.] is
4 bits wide, not 4 bytes wide

1. http://ftp.t10.org/ftp/t10/document.94/94-190r4.pdf

Bug 200619
Reported by: Michael Baptist <mbaptist@isilon.com>
Submitted by: Lars Skodje <lskodje@isilon.com>
Sponsored by: EMC / Isilon Storage Division

r289916:

Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the
mode value isn't always clipped to -1 when (resolution * size) == 32, which
would have been the case with values => {4i,32b,32t}.

This seems to have been broken in r64382.

PR: 200619
Reported by: Michael Baptist
Submitted by: Lars Skodje
Sponsored by: EMC / Isilon Storage Division
2015-11-05 07:48:48 +00:00
..
attrib.c MFC, r284192: 2015-06-16 02:31:11 +00:00
camcontrol.8 MFC, r286965: 2015-08-27 13:17:05 +00:00
camcontrol.c MFC, r286965: 2015-08-27 13:17:05 +00:00
camcontrol.h MFC, r286965: 2015-08-27 13:17:05 +00:00
fwdownload.c MFC, r286965: 2015-08-27 13:17:05 +00:00
Makefile MFC, r284192: 2015-06-16 02:31:11 +00:00
modeedit.c MFC r289913,r289916: 2015-11-05 07:48:48 +00:00
persist.c MFC r268240 (by ken): 2014-07-15 17:26:43 +00:00
progress.c MFC, r286965: 2015-08-27 13:17:05 +00:00
progress.h Add progress.c and progress.h, missed in the previous commit to camcontrol. 2012-06-20 04:11:34 +00:00
util.c Fix build. 2011-11-25 07:11:02 +00:00