Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD master CVS tree commits
- To: source-changes
- Subject: NetBSD master CVS tree commits
- From: The Source of All Evil <source>
- Date: Fri, 12 Jan 1996 17:50:04 -0500
thorpej
Fri Jan 12 14:43:35 PST 1996
Update of /a/cvsroot/src/sys/scsi
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv7844
Modified Files:
cd.c scsi_base.c scsiconf.h sd.c
Log Message:
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.
chuck
Fri Jan 12 17:43:57 EST 1996
Update of /a/cvsroot/src/sys/arch/sparc/dev
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv7792
Modified Files:
xd.c
Log Message:
we no longer need to add in the offset to the mapped VA to get the correct
device address (bus_tmp, bus_map, and mapiodev now do this for us).
also, we handle all our mappings, so don't have obio.c do any for us
(i.e. don't set ra->ra_len in xdcmatch).
chuck
Fri Jan 12 17:45:07 EST 1996
Update of /a/cvsroot/src/sys/arch/sparc/dev
In directory pain.lcs.mit.edu:/b/tmp/cvs-serv7915
Modified Files:
xy.c
Log Message:
we no longer need to add in the offset to the mapped VA to get the correct
device address (bus_tmp, bus_map, and mapiodev now do this for us).
also, we handle all our mappings, so don't have obio.c do any for us
(i.e. don't set ra->ra_len in xycmatch).
Home |
Main Index |
Thread Index |
Old Index