]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix inquiry length detection for the ses(4) driver. It was using the
authorKenneth D. Merry <ken@FreeBSD.org>
Fri, 16 Mar 2001 22:16:54 +0000 (22:16 +0000)
committerKenneth D. Merry <ken@FreeBSD.org>
Fri, 16 Mar 2001 22:16:54 +0000 (22:16 +0000)
commite35550e2bcf02ce8692e144c942cc09771c67c18
treefe155d2754f085edeb24e50d7521117fca5477e2
parent9c83e8862eac238aab28d82646f93cd7261d7ccc
Fix inquiry length detection for the ses(4) driver.  It was using the
inq_len member of the ccb_getdev structure, but we've never filled that
value in..

So we now get the length from the inquiry data returned by the drive.
(Since we will fetch as much inquiry data as the drive claims to support.)

Reviewed by: mjacob
Reported by: Andrzej Tobola <san@iem.pw.edu.pl>
sys/cam/scsi/scsi_ses.c