summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-12-28 13:04:03 +0000
committerse <se@FreeBSD.org>1995-12-28 13:04:03 +0000
commit81784b060329cca13e3164d9cc4779044f97df76 (patch)
tree2d34d85ab323c0551df777c86d50141c7e3457b3 /sys
parent7a62d3bb4d16b6454993d52adb4b72f5bd543986 (diff)
downloadFreeBSD-src-81784b060329cca13e3164d9cc4779044f97df76.zip
FreeBSD-src-81784b060329cca13e3164d9cc4779044f97df76.tar.gz
Preserve SIGP bit when clearing INTF condition.
Submitted by: Gerard Roudier <groudier@htlm.fr>
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/ncr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 1200ae8..86883e4 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.51 1995/12/14 09:54:04 phk Exp $
+** $Id: ncr.c,v 1.52 1995/12/16 00:27:44 bde Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1249,7 +1249,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.51 1995/12/14 09:54:04 phk Exp $\n";
+ "\n$Id: ncr.c,v 1.52 1995/12/16 00:27:44 bde Exp $\n";
static u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
@@ -4946,7 +4946,7 @@ void ncr_exception (ncb_p np)
*/
while ((istat = INB (nc_istat)) & INTF) {
if (DEBUG_FLAGS & DEBUG_TINY) printf ("F");
- OUTB (nc_istat, INTF);
+ OUTB (nc_istat, (istat & SIGP) | INTF);
np->profile.num_fly++;
ncr_wakeup (np, 0);
};
OpenPOWER on IntegriCloud