summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/mpi.c')
-rw-r--r--sys/dev/ic/mpi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index ab3176174fd..99e2430f3cd 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.168 2011/04/27 04:03:11 dlg Exp $ */
+/* $OpenBSD: mpi.c,v 1.169 2011/04/27 05:11:09 dlg Exp $ */
/*
* Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org>
@@ -1449,6 +1449,11 @@ mpi_scsi_cmd_done(struct mpi_ccb *ccb)
xs->error = XS_SELTIMEOUT;
break;
+ case MPI_IOCSTATUS_SCSI_IOC_TERMINATED:
+ case MPI_IOCSTATUS_SCSI_EXT_TERMINATED:
+ xs->error = XS_RESET;
+ break;
+
default:
xs->error = XS_DRIVER_STUFFUP;
break;