summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-21 12:55:26 +0000
committerbde <bde@FreeBSD.org>1995-11-21 12:55:26 +0000
commit24ce87cc75daff742416402eb15baa8a2445fb87 (patch)
treecccb12ba068b651660e03742d946e8b53d952db7 /sys/dev/pci
parent14d44cd2d7bf837c55a5c3bf55ab4eadbc48aad8 (diff)
downloadFreeBSD-src-24ce87cc75daff742416402eb15baa8a2445fb87.zip
FreeBSD-src-24ce87cc75daff742416402eb15baa8a2445fb87.tar.gz
Completed function declarations and/or added prototypes.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcivar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 207a743..c405771 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcivar.h,v 1.5 1995/03/25 21:10:38 bde Exp $
+** $Id: pcivar.h,v 1.6 1995/05/30 08:13:12 rgrimes Exp $
**
** Declarations for pci device drivers.
**
@@ -238,17 +238,20 @@ int pci_map_port (pcici_t tag, u_long entry, u_short * pa);
**-----------------------------------------------------------------
*/
+typedef int pci_inthand_t(void *arg);
+
struct pci_int_desc {
struct pci_int_desc * pcid_next;
pcici_t pcid_tag;
- int (*pcid_handler)();
+ pci_inthand_t *pcid_handler;
void* pcid_argument;
unsigned * pcid_maskptr;
unsigned pcid_tally;
unsigned pcid_mask;
};
-int pci_map_int (pcici_t tag, int (*func)(), void* arg, unsigned * maskptr);
+int pci_map_int (pcici_t tag, pci_inthand_t *func, void *arg,
+ unsigned *maskptr);
int pci_unmap_int (pcici_t tag);
OpenPOWER on IntegriCloud