Date: Mon, 9 Dec 2002 09:31:55 -0800 (PST) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_xpt.c Message-ID: <200212091731.gB9HVtV4089841@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 2002/12/09 09:31:55 PST
Modified files: (Branch: RELENG_4)
sys/cam cam_xpt.c
Log:
Correct an off by one in the calculation of the "full inquiry length".
Although the SCSI spec indicates that the "additional length field" of
the inquiry data is "n - 4", n is an index to the last byte of inquiry
data, not the length of data. For length calculations, use 5, not 4.
In xpt_set_transfer_settings, never attempt U320 transfer speeds if
the information transfer units capability is not supported by the device.
The SPI4 spec precludes running any PACED transfer speed without IUTs.
Reviewed by: scottl, ken
Revision Changes Path
1.80.2.18 +21 -10 src/sys/cam/cam_xpt.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212091731.gB9HVtV4089841>
