cvs commit: src/sys/bus/cam/scsi scsi_ses.c

Peter Avalos pavalos at crater.dragonflybsd.org
Sat Nov 17 15:48:39 PST 2007


pavalos     2007/11/17 15:47:17 PST

DragonFly src repository

  Modified files:
    sys/bus/cam/scsi     scsi_ses.c 
  Log:
  Fix inquiry length detection for the ses(4) driver.
  It was using the inq_len member of the ccb_getdev structure, but that
  value was never filled 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.)
  
  Obtained-from: FreeBSD
  
  Revision  Changes    Path
  1.23      +4 -4      src/sys/bus/cam/scsi/scsi_ses.c


http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_ses.c.diff?r1=1.22&r2=1.23&f=u





More information about the Commits mailing list