summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-11 13:35:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-11 13:35:48 +0000
commit6ae6d3f97b78a79e7c9842148bd0569b79a874cc (patch)
tree164f2e465115c0a5bd5c0af1ff78dbdd5d06ce12
parent9cf558b328c8aee614395d1731b9dafa0d2ca9bb (diff)
Only print preconfigured interrupt table if option DEBUG, as done for openpic.
-rw-r--r--sys/arch/macppc/dev/macintr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/macintr.c b/sys/arch/macppc/dev/macintr.c
index c7d809951d6..801c8904430 100644
--- a/sys/arch/macppc/dev/macintr.c
+++ b/sys/arch/macppc/dev/macintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macintr.c,v 1.26 2005/02/16 14:37:06 aaron Exp $ */
+/* $OpenBSD: macintr.c,v 1.27 2005/03/11 13:35:47 miod Exp $ */
/*-
* Copyright (c) 1995 Per Fogelstrom
@@ -172,6 +172,7 @@ macintr_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 %p arg %p",
ppc_configed_intr[i].ih_what,
ppc_configed_intr[i].ih_irq,
@@ -179,6 +180,7 @@ macintr_collect_preconf_intr()
ppc_configed_intr[i].ih_fun,
ppc_configed_intr[i].ih_arg
);
+#endif
macintr_establish(NULL,
ppc_configed_intr[i].ih_irq,
IST_LEVEL,