summaryrefslogtreecommitdiff
path: root/sys/dev/ic/isp_target.c
diff options
context:
space:
mode:
authormjacob <mjacob@NetBSD.org>2003-08-07 01:12:15 +0000
committermjacob <mjacob@NetBSD.org>2003-08-07 01:12:15 +0000
commit190eaf015fc6520ef58b9a800dbb358e40bf547c (patch)
tree2dbb8e667d2495345de6dc4fc673343c471cb7b5 /sys/dev/ic/isp_target.c
parentcef319e0b470c12b95efe8357441a40c0c032c18 (diff)
Various updates to sync with mainline code. Nothing of great significance
to NetBSD, yet.
Diffstat (limited to 'sys/dev/ic/isp_target.c')
-rw-r--r--sys/dev/ic/isp_target.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/ic/isp_target.c b/sys/dev/ic/isp_target.c
index 5fb4c109c02..f34c8f78ec6 100644
--- a/sys/dev/ic/isp_target.c
+++ b/sys/dev/ic/isp_target.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_target.c,v 1.23 2003/03/03 20:54:12 mjacob Exp $ */
+/* $NetBSD: isp_target.c,v 1.24 2003/08/07 01:12:15 mjacob Exp $ */
/*
* This driver, which is contained in NetBSD in the files:
*
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_target.c,v 1.23 2003/03/03 20:54:12 mjacob Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_target.c,v 1.24 2003/08/07 01:12:15 mjacob Exp $");
#ifdef __NetBSD__
#include <dev/ic/isp_netbsd.h>
@@ -570,6 +570,11 @@ isp_target_async(struct ispsoftc *isp, int bus, int event)
msg.nt_msg[0] = MSG_BUS_DEV_RESET;
(void) isp_async(isp, ISPASYNC_TARGET_MESSAGE, &msg);
break;
+ case ASYNC_CTIO_DONE:
+ evt.ev_bus = bus;
+ evt.ev_event = event;
+ (void) isp_async(isp, ISPASYNC_TARGET_EVENT, &evt);
+ return (0);
default:
isp_prt(isp, ISP_LOGERR,
"isp_target_async: unknown event 0x%x", event);
@@ -1144,9 +1149,11 @@ isp_handle_ctio2(struct ispsoftc *isp, ct2_entry_t *ct)
case CT_PORTNOTAVAIL:
if (fmsg == NULL)
fmsg = "Port not available";
+ /*FALLTHROUGH*/
case CT_PORTCHANGED:
if (fmsg == NULL)
fmsg = "Port Changed";
+ /*FALLTHROUGH*/
case CT_NOACK:
if (fmsg == NULL)
fmsg = "unacknowledged Immediate Notify pending";