Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Matthew Jacob <mjacob@netbsd.org>
List: source-changes
Date: 01/04/2000 14:36:00
Module Name: syssrc
Committed By: mjacob
Date: Tue Jan 4 22:35:59 UTC 2000
Modified Files:
syssrc/sys/dev/scsipi: ch.c
Log Message:
- If the user application issues an INITIALIZE ELEMENT STATUS which
succeeds, note that we now are valid.
- Don't attempt to try and run initialize element status from interrupt level-
we don't really support that yet. Also, key more correctly off of ASC/ASCQ
instead of just the sense key.
- Make the practice of doing an INITIALIZE ELEMENT STATUS automatically when
we get params (from chopen time even) a policy decision that is not the
default for now- this can be a dangerous practice as well as time consuming.
It's dangerous in that you can have a hung open when all you really want
to do is do a read of parameters- and parameters, including slot status,
are perfectly fine to read even before an INITIALIZE ELEMENT STATUS is
done- all the elements whos status your read are going to be marked with
an exception- so leave it up to the application to decide how important
this is.
To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 syssrc/sys/dev/scsipi/ch.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.