diff options
author | gibbs <gibbs@FreeBSD.org> | 2004-11-18 04:14:32 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2004-11-18 04:14:32 +0000 |
commit | fd54e1bc5a6aa8b20229ddc06ec80026792c4d40 (patch) | |
tree | 587c9b1c674fe9993325ea520436fae72551b15a /sys/modules/cx | |
parent | d9d06e648f8fbaad9560af5faa61d028a29c6292 (diff) | |
download | FreeBSD-src-fd54e1bc5a6aa8b20229ddc06ec80026792c4d40.zip FreeBSD-src-fd54e1bc5a6aa8b20229ddc06ec80026792c4d40.tar.gz |
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
Diffstat (limited to 'sys/modules/cx')
0 files changed, 0 insertions, 0 deletions