pavalos 2007/11/28 18:32:43 PST
DragonFly src repository
Modified files:
sys/bus/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.
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
http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/scsi/scsi_cd.c.diff?r1=1.40&r2=1.41&f=u