freebsd-dev/sys/cam/scsi
Kenneth D. Merry 53372d3a6d 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
2005-03-26 06:05:06 +00:00
..
scsi_all.c Reference a pointer correctly when copying to it's location. 2005-02-21 00:28:36 +00:00
scsi_all.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_cd.c Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't 2005-03-26 06:05:06 +00:00
scsi_cd.h Fix ATAPI/USB/Firewire CDROM drive handling in cd(4) and hopefully fix 2003-02-21 06:19:38 +00:00
scsi_ch.c Fix a place where we were referencing a pointer after it had been freed. 2005-03-26 04:21:11 +00:00
scsi_ch.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_da.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_da.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_dvcfg.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_iu.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low_pisa.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low_pisa.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_low.c Don't free the SIM object twice. 2005-03-19 06:32:57 +00:00
scsi_low.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_message.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pass.c Don't pass unadulterated unit numbers to make_dev and its ilk- if you 2005-01-22 07:21:25 +00:00
scsi_pass.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pt.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_pt.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_sa.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_sa.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_ses.c Don't pass unadulterated unit numbers to make_dev and its ilk- if you 2005-01-22 07:21:25 +00:00
scsi_ses.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_targ_bh.c Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
scsi_target.c Remove a shadow declaration of 'error' that caused certain tests to be 2005-02-12 04:51:19 +00:00
scsi_targetio.h Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00