NetBSD/sys/dev/scsipi
bouyer dd5eb5979f Some USB devices reports themselves as removable, but have no door and
so don't support the SCSI_PREVENT_ALLOW_MEDIUM_REMOVAL command.
When an "Illegal field in CDB" is reported for this command, mark the
device as non-removable (which is always true for USB keys from the SCSI
point of view), print a message and ignore the error.
For DIOCLOCK, return ENOTTY if the device is not removable instead of
trying a command which will fail.

Fix a problem reported by Hubert Feyrer for some USB umass devices, patch
tested by him.
2005-12-08 22:14:19 +00:00
..
atapi_base.c
atapi_tape.h
atapi_wdc.c
atapiconf.c
atapiconf.h
cd.c - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
cdvar.h - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
ch.c
files.scsipi
if_se.c
Makefile
scsi_all.h
scsi_base.c
scsi_changer.h
scsi_ctron_ether.h
scsi_disk.h
scsi_iu.h
scsi_message.h
scsi_scanner.h
scsi_spc.h
scsi_tape.h
scsiconf.c Fix typo (FALLTHOUGH -> FALLTHROUGH). From Jeff Ito. 2005-11-26 13:54:18 +00:00
scsiconf.h
scsipi_all.h
scsipi_base.c
scsipi_base.h
scsipi_cd.h
scsipi_debug.h
scsipi_disk.h
scsipi_ioctl.c Rework the funny "user_strat: No ioctl" error messages - the functions 2005-11-01 20:44:04 +00:00
scsipi_verbose.c
scsipiconf.c
scsipiconf.h
sd.c Some USB devices reports themselves as removable, but have no door and 2005-12-08 22:14:19 +00:00
sdvar.h - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
ses.c
ses.h
ss_mustek.c - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
ss_mustek.h
ss_scanjet.c - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
ss.c - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
ssvar.h - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
st_atapi.c
st_scsi.c
st.c - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
stvar.h - change the way to specify a bufq strategy. (by string rather than by number) 2005-10-15 17:29:10 +00:00
uk.c