summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/eisaconf.h3
-rw-r--r--sys/dev/pci/pcivar.h9
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/eisa/eisaconf.h b/sys/dev/eisa/eisaconf.h
index 7d79d89..93cecf3 100644
--- a/sys/dev/eisa/eisaconf.h
+++ b/sys/dev/eisa/eisaconf.h
@@ -18,7 +18,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: eisaconf.h,v 1.4 1995/11/06 05:21:01 gibbs Exp $
+ * $Id: eisaconf.h,v 1.5 1995/11/20 12:41:13 phk Exp $
*/
#ifndef _I386_EISA_EISACONF_H_
@@ -72,6 +72,7 @@ struct eisa_device {
struct kern_devconf* kdc;
};
+void eisa_configure __P((void));
struct eisa_device *eisa_match_dev __P((struct eisa_device *, char * (*)(eisa_id_t)));
void eisa_reg_start __P((struct eisa_device *));
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