Home
last modified time | relevance | path

Searched hist:"709 a936f1f35f6ea2416068aa264e0aee6799328" (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/cam/
H A Dcam_xpt.cdiff 709a936f1f35f6ea2416068aa264e0aee6799328 Thu Nov 18 05:14:32 CET 2004 Justin T. Gibbs <gibbs@FreeBSD.org> Correct an off-by-one in the calculation of the inquiry buffer length
to request from devices during the "long inquiry" portion of our probe.
This same bug was fixed in the 4.x stream a few years ago, but the fix
was never propogated to -current.

This fix is slightly different than in -stable:

o Use offsetof() instead of a hard coded constant so as the make
the code more self-explainatory.

o Round odd long inquiry lengths up so as to avoid tickling ignore
wide residue bugs in broken parallel SCSI devices running with a
wide transfer negotiation.

MFC: 3 days
diff 709a936f1f35f6ea2416068aa264e0aee6799328 Thu Nov 18 05:14:32 CET 2004 Justin T. Gibbs <gibbs@FreeBSD.org> Correct an off-by-one in the calculation of the inquiry buffer length
to request from devices during the "long inquiry" portion of our probe.
This same bug was fixed in the 4.x stream a few years ago, but the fix
was never propogated to -current.

This fix is slightly different than in -stable:

o Use offsetof() instead of a hard coded constant so as the make
the code more self-explainatory.

o Round odd long inquiry lengths up so as to avoid tickling ignore
wide residue bugs in broken parallel SCSI devices running with a
wide transfer negotiation.

MFC: 3 days