projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Julian. Commit message by me.
[unix-history]
/
sys
/
scsi
/
st.c
diff --git
a/sys/scsi/st.c
b/sys/scsi/st.c
index
686337a
..
871614d
100644
(file)
--- a/
sys/scsi/st.c
+++ b/
sys/scsi/st.c
@@
-21,13
+21,13
@@
* 16 Feb 93 Julian Elischer ADDED for SCSI system
* 1.15 is the last version to support MACH and OSF/1
*/
* 16 Feb 93 Julian Elischer ADDED for SCSI system
* 1.15 is the last version to support MACH and OSF/1
*/
-/* $Revision: 1.1
3
$ */
+/* $Revision: 1.1
4
$ */
/*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
* major changes by Julian Elischer (julian@jules.dialix.oz.au) May 1993
*
/*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
* major changes by Julian Elischer (julian@jules.dialix.oz.au) May 1993
*
- * $Id: st.c,v 1.1
3 1993/11/18 05:03:05 rgrimes
Exp $
+ * $Id: st.c,v 1.1
4 1993/12/19 00:54:59 wollman
Exp $
*/
/*
*/
/*
@@
-485,7
+485,7
@@
stopen(dev, flags)
* Only allow one at a time
*/
if (st->flags & ST_OPEN) {
* Only allow one at a time
*/
if (st->flags & ST_OPEN) {
- return (E
NXIO
);
+ return (E
BUSY
);
}
/*
* Throw out a dummy instruction to catch 'Unit attention
}
/*
* Throw out a dummy instruction to catch 'Unit attention
@@
-975,6
+975,7
@@
ststart(unit)
/* if a special awaits, let it proceed first */
if (sc_link->flags & SDEV_WAITING) {
/* if a special awaits, let it proceed first */
if (sc_link->flags & SDEV_WAITING) {
+ sc_link->flags &= ~SDEV_WAITING;
wakeup((caddr_t)sc_link);
return;
}
wakeup((caddr_t)sc_link);
return;
}