summaryrefslogtreecommitdiff
path: root/sys/dev/ic/uha.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-11-24 00:31:36 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-11-24 00:31:36 +0000
commitfb010ee28f3f39c9cf5fe72822a89213e428d32b (patch)
tree5946c92ed3266e9a923c2b77ce28a9cedf8375d2 /sys/dev/ic/uha.c
parent9e9d849de5e50495b34e582aaac917bb04616a4d (diff)
Return NO_CCB instead of TRY_AGAIN_LATER when ccb's run out.
"I'm all for it." marco@ "Yeah" deraadt@
Diffstat (limited to 'sys/dev/ic/uha.c')
-rw-r--r--sys/dev/ic/uha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/uha.c b/sys/dev/ic/uha.c
index 84cbda43bc1..68d2a976cc5 100644
--- a/sys/dev/ic/uha.c
+++ b/sys/dev/ic/uha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uha.c,v 1.10 2008/09/12 11:14:04 miod Exp $ */
+/* $OpenBSD: uha.c,v 1.11 2008/11/24 00:31:35 krw Exp $ */
/* $NetBSD: uha.c,v 1.3 1996/10/13 01:37:29 christos Exp $ */
#undef UHADEBUG
@@ -373,7 +373,7 @@ uha_scsi_cmd(xs)
*/
flags = xs->flags;
if ((mscp = uha_get_mscp(sc, flags)) == NULL) {
- return (TRY_AGAIN_LATER);
+ return (NO_CCB);
}
mscp->xs = xs;
mscp->timeout = xs->timeout;