diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-08-08 04:46:37 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-08-08 04:46:37 +0000 |
commit | 8dcdb66b785415c22652d5893b69eb3ddeace912 (patch) | |
tree | c47e972a8cd395db5d20f36b46f24a1bad8d9eae /sys/i386 | |
parent | 75bdcbe3df5d0fa75b7e66e9cff733a168719ae0 (diff) | |
download | FreeBSD-src-8dcdb66b785415c22652d5893b69eb3ddeace912.zip FreeBSD-src-8dcdb66b785415c22652d5893b69eb3ddeace912.tar.gz |
Added printf for cases AHB_ASN (async even notification) and AHB_HW_ERR so
that we are notified when these events occur. This may lead us to the
cause of certain AHB timeout/lockup problems.
From: Roy Neese of Adaptec
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/eisa/aha1742.c | 9 | ||||
-rw-r--r-- | sys/i386/isa/aha1742.c | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sys/i386/eisa/aha1742.c b/sys/i386/eisa/aha1742.c index 468a6bc..774e6f8 100644 --- a/sys/i386/eisa/aha1742.c +++ b/sys/i386/eisa/aha1742.c @@ -16,6 +16,11 @@ /* * HISTORY * $Log: aha1742.c,v $ + * Revision 1.4 1993/08/06 11:59:02 rgrimes + * Fixed **probing for scsi devices** message to have a controller and unit + * message on the begining of it: + * aha0: **probing for scsi devices** + * * Revision 1.3 1993/07/29 11:55:34 nate * Syncing our sources back with Julian's, and removing PATCHKIT headers. * @@ -642,9 +647,13 @@ ahbintr(unit) ahb_data[unit].immed_ecb = 0; break; case AHB_ASN: /* for target mode */ + printf("ahb%d: Unexpected ASN interrupt(%x)\n", + unit, mboxval); ecb = 0; break; case AHB_HW_ERR: + printf("ahb%d: Hardware error interrupt(%x)\n", + unit, mboxval); ecb = 0; break; case AHB_ECB_RECOVERED: diff --git a/sys/i386/isa/aha1742.c b/sys/i386/isa/aha1742.c index 468a6bc..774e6f8 100644 --- a/sys/i386/isa/aha1742.c +++ b/sys/i386/isa/aha1742.c @@ -16,6 +16,11 @@ /* * HISTORY * $Log: aha1742.c,v $ + * Revision 1.4 1993/08/06 11:59:02 rgrimes + * Fixed **probing for scsi devices** message to have a controller and unit + * message on the begining of it: + * aha0: **probing for scsi devices** + * * Revision 1.3 1993/07/29 11:55:34 nate * Syncing our sources back with Julian's, and removing PATCHKIT headers. * @@ -642,9 +647,13 @@ ahbintr(unit) ahb_data[unit].immed_ecb = 0; break; case AHB_ASN: /* for target mode */ + printf("ahb%d: Unexpected ASN interrupt(%x)\n", + unit, mboxval); ecb = 0; break; case AHB_HW_ERR: + printf("ahb%d: Hardware error interrupt(%x)\n", + unit, mboxval); ecb = 0; break; case AHB_ECB_RECOVERED: |