Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2004 04:14:32 +0000 (UTC)
From:      "Justin T. Gibbs" <gibbs@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/cam cam_xpt.c
Message-ID:  <200411180414.iAI4EWKb018259@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gibbs       2004-11-18 04:14:32 UTC

  FreeBSD src repository

  Modified files:
    sys/cam              cam_xpt.c 
  Log:
  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
  
  Revision  Changes    Path
  1.144     +11 -1     src/sys/cam/cam_xpt.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411180414.iAI4EWKb018259>