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

Peter Avalos pavalos at
Wed Nov 28 18:33:33 PST 2007

pavalos     2007/11/28 18:32:43 PST

DragonFly src repository

  Modified files:
    sys/bus/cam/scsi     scsi_cd.c 
  Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't
  succeed if there was no media in the drive.
  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.)
  Obtained-from: FreeBSD
  Revision  Changes    Path
  1.41      +7 -1      src/sys/bus/cam/scsi/scsi_cd.c

More information about the Commits mailing list