cvs commit: src/sys/cam/scsi scsi_cd.c
Kenneth D. Merry
ken at FreeBSD.org
Wed Mar 30 06:54:17 PST 2005
ken 2005-03-30 14:54:17 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
sys/cam/scsi scsi_cd.c
Log:
MFC, scsi_cd.c rev 1.93
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
Approved by: re (kensmith)
Revision Changes Path
1.89.2.3 +7 -1 src/sys/cam/scsi/scsi_cd.c
More information about the cvs-src
mailing list