Subject: CVS commit: src/sys/dev/scsipi
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/09/2003 02:43:36
Module Name:	src
Committed By:	mycroft
Date:		Tue Sep  9 02:43:36 UTC 2003

Modified Files:
	src/sys/dev/scsipi: cd.c sd.c

Log Message:
In the test for whether to start the unit, I used the wrong error code.
ENODEV is only returned when we get "medium not present," which we can fail
immediately on.  All other "not ready" cases return EIO.


To generate a diff of this commit:
cvs rdiff -r1.193 -r1.194 src/sys/dev/scsipi/cd.c
cvs rdiff -r1.205 -r1.206 src/sys/dev/scsipi/sd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.