summaryrefslogtreecommitdiff
path: root/sys/dev/pci/isp_pci.c
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2001-09-29 01:23:55 +0000
committermjacob <mjacob@cvs.openbsd.org>2001-09-29 01:23:55 +0000
commit358fa93b56ba8cfa49b3b3b2cb5207dcf19152d2 (patch)
tree3d62bede1bf5905a2322e34c1dc0f3fb60d8ad98 /sys/dev/pci/isp_pci.c
parented7e88ca8f9af50e284ebe6ed955063631e4c710 (diff)
If we field an interrupt, return to the caller that we did so. Otherwise,
on some platforms, after a while they'll think it's all spurious and disconnect the interrupt routing. Thereupon Bad Things Happen (tm). Approved by: Theo.
Diffstat (limited to 'sys/dev/pci/isp_pci.c')
-rw-r--r--sys/dev/pci/isp_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index 2c77441df7a..b8d91ceafef 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_pci.c,v 1.23 2001/09/01 07:16:40 mjacob Exp $ */
+/* $OpenBSD: isp_pci.c,v 1.24 2001/09/29 01:23:54 mjacob Exp $ */
/*
* PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
*
@@ -1091,7 +1091,7 @@ isp_pci_intr(void *arg)
isp->isp_osinfo.onintstack = 1;
isp_intr(isp, isr, sema, mbox);
isp->isp_osinfo.onintstack = 0;
- return (0);
+ return (1);
}
}