summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-02-25 17:28:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-02-25 17:28:59 +0000
commita6259b98319d7a35af36596620e5a3c183bf50f6 (patch)
treeacf5c75074ea518c8c788d7f3f5f041fca0fa0ff /sys/arch
parentc0845e77b06ba689031ba8b3944a88310927d453 (diff)
support irq on mainbus
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/include/autoconf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/autoconf.h b/sys/arch/hppa/include/autoconf.h
index 352aa3a3772..26e1397875b 100644
--- a/sys/arch/hppa/include/autoconf.h
+++ b/sys/arch/hppa/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.5 1999/01/11 18:15:26 mickey Exp $ */
+/* $OpenBSD: autoconf.h,v 1.6 1999/02/25 17:28:58 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -40,9 +40,12 @@ struct confargs {
struct iodc_data ca_type; /* iodc-specific type descrition */
hppa_hpa_t ca_hpa; /* module HPA */
bus_dma_tag_t ca_dmatag; /* DMA tag */
+ int ca_irq; /* module IRQ */
struct pdc_iodc_read *ca_pdc_iodc_read;
};
+#define hppacf_irq cf_loc[0]
+
/* this is used for hppa_knownboards table
* describing known to this port boards
*/
@@ -66,7 +69,8 @@ struct device;
const char *hppa_mod_info __P((int, int));
void pdc_scanbus __P((struct device *, struct confargs *, int bus, int));
int mbprint __P((void *, const char *));
-int cpu_intr_establish __P((int pri, int (*handler) __P((void *)),
+int mbsubmatch __P((struct device *, void *, void *));
+void *cpu_intr_establish __P((int pri, int, int (*handler) __P((void *)),
void *arg, const char *name));
void configure __P((void));