summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfi.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-02-16 15:24:06 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-02-16 15:24:06 +0000
commitea029ac8bd4434a4b7d5808af29cc9bbc8acde64 (patch)
treeab83d4bfb8da428e408c11861ece537db1a50c4c /sys/dev/ic/mfi.c
parent2923f2b1356331230722f35e24ccdaca83d6dbfe (diff)
Return NO_CCB and not TRY_AGAIN_LATER when running out of ccb's.
Eliminates 'not queued' errors reported on the mailing lists. Tested by Michael (belenus at bsdmail dot de). ok marco@
Diffstat (limited to 'sys/dev/ic/mfi.c')
-rw-r--r--sys/dev/ic/mfi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index b207ae8d09d..9365774cfd1 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.79 2008/02/11 01:07:02 dlg Exp $ */
+/* $OpenBSD: mfi.c,v 1.80 2008/02/16 15:24:05 krw Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -986,7 +986,7 @@ mfi_scsi_cmd(struct scsi_xfer *xs)
if ((ccb = mfi_get_ccb(sc)) == NULL) {
DNPRINTF(MFI_D_CMD, "%s: mfi_scsi_cmd no ccb\n", DEVNAME(sc));
- return (TRY_AGAIN_LATER);
+ return (NO_CCB);
}
xs->error = XS_NOERROR;