]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r290385:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Nov 2015 00:50:46 +0000 (00:50 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 8 Nov 2015 00:50:46 +0000 (00:50 +0000)
commit65f3ad0fbe914dedcb56adf7efef5e6bea1db668
treec52873b5d08adb5cf26d814d869afc563a43e5cd
parent5817e94d98ea398988e713dc0aa040f63d4d0ed3
MFstable/10 r290385:

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

git-svn-id: svn://svn.freebsd.org/base/stable/9@290527 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/camcontrol/modeedit.c
share/misc/scsi_modes