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 Remove unused macros. 1995-01-16 21:31:34 +00:00
files.scsipi config.new description of SCSI mi files. 1995-04-17 07:15:40 +00:00
scsi_all.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_base.c Handle cases like the following: 1996-01-12 22:43:26 +00:00
scsi_cd.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_changer.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsi_disk.h Add missing spindle synch control, rotational offset, and RPM members 1995-10-15 23:32:02 +00:00
scsi_message.h Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
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 Numerous changes. Many bugs fixed, better autoconfig, a few new features. 1994-12-28 19:42:47 +00:00
scsipi_ioctl.c Don't declare Debugger(). It's handled in <sys/systm.h>. 1995-09-26 19:26:48 +00:00
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 fix syntax error. Andreas Gustafsson <gson@clinet.fi> 1995-03-24 20:17:15 +00:00