summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcivar.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-01-23 21:48:28 +0000
committerse <se@FreeBSD.org>1996-01-23 21:48:28 +0000
commit9516aa2cafa23657dcba24410ae70f85a607f592 (patch)
tree0c05d619dce00b4358e22aba692e8f11615d00c7 /sys/pci/pcivar.h
parent1d9e7dac5c0c9137300b85bf72dbd842b1e65eaa (diff)
downloadFreeBSD-src-9516aa2cafa23657dcba24410ae70f85a607f592.zip
FreeBSD-src-9516aa2cafa23657dcba24410ae70f85a607f592.tar.gz
Make PCI interrupt handlers return void like everybody else does.
Reviewed by: davidg
Diffstat (limited to 'sys/pci/pcivar.h')
-rw-r--r--sys/pci/pcivar.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h
index c405771..50a037f 100644
--- a/sys/pci/pcivar.h
+++ b/sys/pci/pcivar.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcivar.h,v 1.6 1995/05/30 08:13:12 rgrimes Exp $
+** $Id: pcivar.h,v 1.7 1995/11/21 12:54:55 bde Exp $
**
** Declarations for pci device drivers.
**
@@ -228,17 +228,10 @@ int pci_map_port (pcici_t tag, u_long entry, u_short * pa);
**
** Supports multiple handlers per irq (shared interrupts).
**
-** -----------------
-**
-** There is code to support shared edge triggered ints.
-** This relies on the cooperation of the interrupt handlers:
-** they have to return a value <>0 if and only if something
-** was done. Beware of the performance penalty.
-**
**-----------------------------------------------------------------
*/
-typedef int pci_inthand_t(void *arg);
+typedef void pci_inthand_t(void *arg);
struct pci_int_desc {
struct pci_int_desc * pcid_next;
OpenPOWER on IntegriCloud