summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-11-09 08:41:50 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-11-09 08:41:50 +0000
commit027d958ed8feb1663060d22b417e005c2b6eb4c6 (patch)
treefa8fc4e1b9eaa304e2f2584b25c18519b08f7b32
parent43346dc69690bb911a22f0bd49047d9377613b16 (diff)
Notes
-rw-r--r--sys/pci/ncr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 0ec602adeba6..6218db813548 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.37.4.8 1996/04/01 00:25:28 gibbs Exp $
+** $Id: ncr.c,v 1.37.4.9 1996/08/05 19:10:33 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1254,7 +1254,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.37.4.8 1996/04/01 00:25:28 gibbs Exp $\n";
+ "\n$Id: ncr.c,v 1.37.4.9 1996/08/05 19:10:33 se Exp $\n";
u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
@@ -4975,8 +4975,8 @@ void ncr_exception (ncb_p np)
** Never test for an error condition you don't know how to handle.
*/
- dstat = INB (nc_dstat);
- sist = INW (nc_sist) ;
+ dstat = (istat & DIP) ? INB (nc_dstat) : 0;
+ sist = (istat & SIP) ? INW (nc_sist) : 0;
np->profile.num_int++;
if (DEBUG_FLAGS & DEBUG_TINY)