summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-09-07 18:03:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-09-07 18:03:29 +0000
commit39b8eb2bcb22da1f09bf166f18ba43017702ee32 (patch)
tree58c0872f2d8b6355fd7e9bb23fe056bbd8a8cdb2 /sys/arch/powerpc
parent9b78c72e9d2ae6a56c15e3e4e050f60f02aa455c (diff)
cleaner
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/mac/openpic.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/sys/arch/powerpc/mac/openpic.c b/sys/arch/powerpc/mac/openpic.c
index 301b7a90fdb..0c609e3473a 100644
--- a/sys/arch/powerpc/mac/openpic.c
+++ b/sys/arch/powerpc/mac/openpic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openpic.c,v 1.7 2000/09/06 02:04:50 rahnds Exp $ */
+/* $OpenBSD: openpic.c,v 1.8 2000/09/07 18:03:28 deraadt Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -190,20 +190,16 @@ openpic_collect_preconf_intr()
{
int i;
for (i = 0; i < ppc_configed_intr_cnt; i++) {
+#ifdef DEBUG
printf("\n\t%s irq %d level %d fun %x arg %x",
- ppc_configed_intr[i].ih_what,
- ppc_configed_intr[i].ih_irq,
- ppc_configed_intr[i].ih_level,
- ppc_configed_intr[i].ih_fun,
- ppc_configed_intr[i].ih_arg
- );
- openpic_intr_establish(NULL,
- ppc_configed_intr[i].ih_irq,
- IST_LEVEL,
- ppc_configed_intr[i].ih_level,
- ppc_configed_intr[i].ih_fun,
- ppc_configed_intr[i].ih_arg,
- ppc_configed_intr[i].ih_what);
+ ppc_configed_intr[i].ih_what, ppc_configed_intr[i].ih_irq,
+ ppc_configed_intr[i].ih_level, ppc_configed_intr[i].ih_fun,
+ ppc_configed_intr[i].ih_arg);
+#endif
+ openpic_intr_establish(NULL, ppc_configed_intr[i].ih_irq,
+ IST_LEVEL, ppc_configed_intr[i].ih_level,
+ ppc_configed_intr[i].ih_fun, ppc_configed_intr[i].ih_arg,
+ ppc_configed_intr[i].ih_what);
}
}