summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adw.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/adw.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/adw.c')
-rw-r--r--sys/dev/ic/adw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/adw.c b/sys/dev/ic/adw.c
index 0a4b998e285..bbfe1fedb9d 100644
--- a/sys/dev/ic/adw.c
+++ b/sys/dev/ic/adw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adw.c,v 1.34 2008/09/12 11:14:04 miod Exp $ */
+/* $OpenBSD: adw.c,v 1.35 2008/11/24 00:31:35 krw Exp $ */
/* $NetBSD: adw.c,v 1.23 2000/05/27 18:24:50 dante Exp $ */
/*
@@ -714,7 +714,7 @@ adw_scsi_cmd(xs)
*/
if (dontqueue) {
splx(s);
- return (TRY_AGAIN_LATER);
+ return (NO_CCB);
}
/*
* Stuff ourselves into the queue, in front