summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-03-27 02:06:04 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-03-27 02:06:04 +0000
commit87437713b23da5ec890e36f4cc9badce0df57cb8 (patch)
tree676279c7694e5d4ca38ec61b6a2ef34ec1af3b88 /sys/dev/ic
parent6020e1f835f36f4c54de5bd2662d672af14bc12f (diff)
Fix isp(4) fallout from NO_CCB nuking. Seen by several.
ok deraadt@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/isp_openbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/isp_openbsd.c b/sys/dev/ic/isp_openbsd.c
index 8062cc9e968..5ae1db210c2 100644
--- a/sys/dev/ic/isp_openbsd.c
+++ b/sys/dev/ic/isp_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_openbsd.c,v 1.42 2010/03/23 01:57:19 krw Exp $ */
+/* $OpenBSD: isp_openbsd.c,v 1.43 2010/03/27 02:06:03 krw Exp $ */
/*
* Platform (OpenBSD) dependent common attachment code for QLogic adapters.
*
@@ -395,14 +395,14 @@ isp_polled_cmd(struct ispsoftc *isp, XS_T *xs)
switch (result) {
case CMD_QUEUED:
- return;
+ break;
case CMD_RQLATER:
case CMD_EAGAIN:
xs->error = XS_NO_CCB;
/* FALLTHROUGH */
case CMD_COMPLETE:
scsi_done(xs);
- break;
+ return;
}
/*