summaryrefslogtreecommitdiff
path: root/sys/dev/ic/trm.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/trm.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/trm.c')
-rw-r--r--sys/dev/ic/trm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c
index 3e30f094609..5b7b25dae19 100644
--- a/sys/dev/ic/trm.c
+++ b/sys/dev/ic/trm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trm.c,v 1.9 2008/08/31 17:21:57 miod Exp $
+/* $OpenBSD: trm.c,v 1.10 2008/11/24 00:31:35 krw Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
@@ -397,7 +397,7 @@ trm_scsi_cmd(struct scsi_xfer *xs)
if (pSRB == NULL) {
splx(intflag);
- return TRY_AGAIN_LATER;
+ return (NO_CCB);
}
/*