NetBSD/sys/dev/scsipi
thorpej 8068d9eeb2 Handle cases like the following:
- controller calls scsi_done() with error XS_TIMEOUT
	- scsi_done() calls sddone()
	- sddone() calls disk_unbusy()
	- scsi_done() calls controller to retry command (missing the
	  call to disk_busy())
	- controller calls scsi_done()
	- scsi_done() calls sddone()
	- sddone() calls disk_busy(), which panics because of the imbalance.
Bug noticed by Leo Weppleman, who also suggested this fix; pass an additional
boolean argument ("complete") to the device's "done" routine, with a
value of `0' passed from the previous call to "done", and add an additional
call to "done" when the xfer resources are freed.
1996-01-12 22:43:26 +00:00
..
cd.c Handle cases like the following: 1996-01-12 22:43:26 +00:00
ch.c
files.scsipi
scsi_all.h
scsi_base.c Handle cases like the following: 1996-01-12 22:43:26 +00:00
scsi_cd.h
scsi_changer.h
scsi_disk.h Add missing spindle synch control, rotational offset, and RPM members 1995-10-15 23:32:02 +00:00
scsi_message.h
scsi_tape.h Honor cache request and implement erase command, and add the SCSI tape 1996-01-11 03:36:34 +00:00
scsiconf.c LUN deficient device: Tandberg 3600 (Ken Raeburn; PR#1933). 1996-01-12 11:32:37 +00:00
scsiconf.h Handle cases like the following: 1996-01-12 22:43:26 +00:00
scsipi_debug.h
scsipi_ioctl.c
sd.c Handle cases like the following: 1996-01-12 22:43:26 +00:00
st.c Honor cache request and implement erase command, and add the SCSI tape 1996-01-11 03:36:34 +00:00
su.c
uk.c