Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 04/02/1997 02:30:04
mycroft
Tue Apr 1 18:29:44 PST 1997
Update of /cvsroot/src/sys/scsi
In directory netbsd1:/var/slash-tmp/cvs-serv3367
Modified Files:
cd.c if_se.c scsi_base.c scsiconf.h sd.c
Log Message:
Push the buffer cleanup code into scsi_done(), and split it so that biodone()
is called *after* the driver `done' routine. This fixes disk I/O statistics
on SCSI devices.
Also, calling the `done' routine with a `complete' argument of 0 and actually
having it do anything meaningful loses in at least 3 ways, so just nuke the
argument altogether and don't call it this way. If the driver needs to do
some error handling, that's what `err_handler' is for.