Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: enami tsugutomo <enami@netbsd.org>
List: source-changes
Date: 04/02/2000 20:37:34
Module Name: syssrc
Committed By: enami
Date: Mon Apr 3 03:37:34 UTC 2000
Modified Files:
syssrc/sys/dev/scsipi: scsi_base.c scsipi_base.c
Log Message:
When killing pending xfers on device detach, we can't expect scsipi_done
to remove all xfers from the pending queue. It removes only xfers for
asynchronous transactions. So, simply loop over all pending xfers
with calling scsipi_done and wait xfers to drain. Addresses PR#9703.
To generate a diff of this commit:
cvs rdiff -r1.72 -r1.73 syssrc/sys/dev/scsipi/scsi_base.c
cvs rdiff -r1.33 -r1.34 syssrc/sys/dev/scsipi/scsipi_base.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.