summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-08-21 09:24:53 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-08-21 09:24:53 +0000
commit2ef61c4195d0a7ace9c27436dbf7ae33ee8a29f9 (patch)
tree8aa6a4bc1da19db3843586f2d7e1780efa443db8 /sys/arch/macppc
parent14934cfc44663f6bc310cb36c07f25c380e664ae (diff)
For interrupts that get established before we attach the interrupt controller,
store the type of the interrupt (level, edge). ok miod@, mpi@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/macppc/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index b5ed9d1fd61..80c0d732f3c 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.131 2011/08/29 20:21:44 drahn Exp $ */
+/* $OpenBSD: machdep.c,v 1.132 2012/08/21 09:24:52 kettenis Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -1008,6 +1008,7 @@ ppc_intr_establish(void *lcv, pci_intr_handle_t ih, int type, int level,
if (ppc_configed_intr_cnt < MAX_PRECONF_INTR) {
ppc_configed_intr[ppc_configed_intr_cnt].ih_fun = func;
ppc_configed_intr[ppc_configed_intr_cnt].ih_arg = arg;
+ ppc_configed_intr[ppc_configed_intr_cnt].ih_type = type;
ppc_configed_intr[ppc_configed_intr_cnt].ih_level = level;
ppc_configed_intr[ppc_configed_intr_cnt].ih_irq = ih;
ppc_configed_intr[ppc_configed_intr_cnt].ih_what = name;