cvs commit: src/sys/cam/scsi scsi_cd.c

Kenneth D. Merry ken at FreeBSD.org
Fri Mar 25 22:05:07 PST 2005


ken         2005-03-26 06:05:06 UTC

  FreeBSD src repository

  Modified files:
    sys/cam/scsi         scsi_cd.c 
  Log:
  Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't
  succeed if there was no media in the drive.
  
  This was broken in rev 1.72 when the media check was added to cdioctl().
  
  For now, check the ioctl group to decide whether to check for media or not.
  (We only need to check for media on CD-specific ioctls.)
  
  Reported by:    bland
  MFC after:      3 days
  
  Revision  Changes    Path
  1.93      +7 -1      src/sys/cam/scsi/scsi_cd.c


More information about the cvs-src mailing list