summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@overdrive.btc.adaptec.com>2002-12-30 04:43:35 -0700
committerJustin T. Gibbs <gibbs@overdrive.btc.adaptec.com>2002-12-30 04:43:35 -0700
commitef9b39da705a823ccc9b58e35b44a148943383d0 (patch)
treed20298adea86f93a3d08a338157f20639ad3fb18
parent62874940fdf39e67aed366cdb27087b18a076270 (diff)
Preface the "asserting atn" diagnostic with controller/target information.
Restore a call to ahc_assert_atn() that was inadvertantly lost when the asserting atn diagnostic was added. This, among other things, resulted in driver negotiation failures with devices that initiated negotiation (e.g. most IBM drives).
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_core.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c
index d67bed4e6795..a69c1194203e 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_core.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_core.c
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#104 $
+ * $Id: //depot/aic7xxx/aic7xxx/aic7xxx.c#105 $
*
* $FreeBSD$
*/
@@ -2772,9 +2772,12 @@ reswitch:
*/
if (ahc->msgout_len != 0) {
#ifdef AHC_DEBUG
- if ((ahc_debug & AHC_SHOW_MESSAGES) != 0)
+ if ((ahc_debug & AHC_SHOW_MESSAGES) != 0) {
+ ahc_print_devinfo(ahc, &devinfo);
printf("Asserting ATN for response\n");
+ }
#endif
+ ahc_assert_atn(ahc);
}
} else
ahc->msgin_index++;