Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Error recovery stops normal queue processing but ...
details: https://anonhg.NetBSD.org/src/rev/e2cfc8f06489
branches: trunk
changeset: 348619:e2cfc8f06489
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Oct 30 23:56:05 2016 +0000
description:
Error recovery stops normal queue processing but didn't resume it
when the recovery succeeded. Add the missing calls to scsipi_channel_thaw
similar to kern/41867.
diffstat:
sys/dev/ic/aic7xxx_osm.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r f1a96c13c5e7 -r e2cfc8f06489 sys/dev/ic/aic7xxx_osm.c
--- a/sys/dev/ic/aic7xxx_osm.c Sun Oct 30 23:35:10 2016 +0000
+++ b/sys/dev/ic/aic7xxx_osm.c Sun Oct 30 23:56:05 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx_osm.c,v 1.37 2010/02/24 22:37:57 dyoung Exp $ */
+/* $NetBSD: aic7xxx_osm.c,v 1.38 2016/10/30 23:56:05 mlelstv Exp $ */
/*
* Bus independent FreeBSD shim for the aic7xxx based adaptec SCSI controllers
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.37 2010/02/24 22:37:57 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.38 2016/10/30 23:56:05 mlelstv Exp $");
#include <dev/ic/aic7xxx_osm.h>
#include <dev/ic/aic7xxx_inline.h>
@@ -258,6 +258,10 @@
scsipi_printaddr(xs->xs_periph);
printf("%s: no longer in timeout, status = %x\n",
ahc_name(ahc), xs->status);
+
+ scsipi_channel_thaw(&ahc->sc_channel, 1);
+ if (ahc->features & AHC_TWIN)
+ scsipi_channel_thaw(&ahc->sc_channel_b, 1);
}
/* Don't clobber any existing error state */
Home |
Main Index |
Thread Index |
Old Index