From fc107a01abba527ea561912eeed67b63a68f2fad Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Wed, 8 Mar 2006 12:59:03 +0100 Subject: [PATCH] --- yaml --- r: 22594 b: refs/heads/master c: 9e691dfba56f7d7a38b09edc5252264bc1bab659 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/scsi/aic7xxx/aic79xx_core.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 83cc34b2342d..4c9d7c9b0e49 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6902f41610d631f74cfca7c61eac7b0950dd8990 +refs/heads/master: 9e691dfba56f7d7a38b09edc5252264bc1bab659 diff --git a/trunk/drivers/scsi/aic7xxx/aic79xx_core.c b/trunk/drivers/scsi/aic7xxx/aic79xx_core.c index b2bcdd4ca1ab..326a62226235 100644 --- a/trunk/drivers/scsi/aic7xxx/aic79xx_core.c +++ b/trunk/drivers/scsi/aic7xxx/aic79xx_core.c @@ -978,9 +978,13 @@ ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) break; } case INVALID_SEQINT: - printf("%s: Invalid Sequencer interrupt occurred.\n", + printf("%s: Invalid Sequencer interrupt occurred, " + "resetting channel.\n", ahd_name(ahd)); - ahd_dump_card_state(ahd); +#ifdef AHD_DEBUG + if ((ahd_debug & AHD_SHOW_RECOVERY) != 0) + ahd_dump_card_state(ahd); +#endif ahd_reset_channel(ahd, 'A', /*Initiate Reset*/TRUE); break; case STATUS_OVERRUN: