diff options
author | 2001-09-29 01:23:54 +0000 | |
---|---|---|
committer | 2001-09-29 01:23:54 +0000 | |
commit | 899bd9a8f73193b41e59313ae6a12072272520cf (patch) | |
tree | f3c6014d1d396f4e04e586e1bb647f2fe0d81dec | |
parent | using #define is wrong, use #option (diff) | |
download | wireguard-openbsd-899bd9a8f73193b41e59313ae6a12072272520cf.tar.xz wireguard-openbsd-899bd9a8f73193b41e59313ae6a12072272520cf.zip |
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.
-rw-r--r-- | sys/dev/pci/isp_pci.c | 4 |
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); } } |