summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ncr5380sbc.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/ncr5380sbc.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/ncr5380sbc.c')
-rw-r--r--sys/dev/ic/ncr5380sbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ncr5380sbc.c b/sys/dev/ic/ncr5380sbc.c
index 8577d1b42dc..1483af28065 100644
--- a/sys/dev/ic/ncr5380sbc.c
+++ b/sys/dev/ic/ncr5380sbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr5380sbc.c,v 1.20 2008/09/12 11:14:04 miod Exp $ */
+/* $OpenBSD: ncr5380sbc.c,v 1.21 2008/11/24 00:31:35 krw Exp $ */
/* $NetBSD: ncr5380sbc.c,v 1.13 1996/10/13 01:37:25 christos Exp $ */
/*
@@ -631,7 +631,7 @@ ncr5380_scsi_cmd(xs)
if (sc->sc_ring[i].sr_xs == NULL)
goto new;
- rv = TRY_AGAIN_LATER;
+ rv = NO_CCB;
NCR_TRACE("scsi_cmd: no openings, rv=%d\n", rv);
goto out;