diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2008-09-19 01:49:55 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2008-09-19 01:49:55 +0000 |
commit | e2bd4f3b1f7de4f3b46a619b3fd532290ae6eba1 (patch) | |
tree | 03a9bb8c611069b804c892e6fc2573920253f641 /sys | |
parent | 2ef75e5d68371df3a1201a3f13467d178385ec89 (diff) |
While vaguely interesting, the prints coming out of the driver was way too
noisy. Hopefully this will quiet it down for all but extremely odd cases
(where we probably want to see the messages).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/dev/openpic.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c index 63fd8e9e3b3..87a55be21dc 100644 --- a/sys/arch/macppc/dev/openpic.c +++ b/sys/arch/macppc/dev/openpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openpic.c,v 1.49 2008/09/18 03:56:25 drahn Exp $ */ +/* $OpenBSD: openpic.c,v 1.50 2008/09/19 01:49:54 drahn Exp $ */ /*- * Copyright (c) 2008 Dale Rahn <drahn@openbsd.org> @@ -461,7 +461,7 @@ openpic_do_pending_int(int pcpl) do { loopcount ++; - if (loopcount > 5) + if (loopcount > 50) printf("do_pending looping %d pcpl %x %x\n", loopcount, pcpl, ci->ci_cpl); if((ci->ci_ipending & SI_TO_IRQBIT(SI_SOFTTTY)) && @@ -625,7 +625,9 @@ openpic_ext_intr() } if (spurious) { openpic_spurious.ec_count++; +#ifdef OPENPIC_NOISY printf("spurious intr %d\n", irq); +#endif } uvmexp.intrs++; @@ -743,6 +745,8 @@ openpic_prog_button (void *arg) void openpic_ipi_ddb() { +#ifdef OPENPIC_NOISY printf("ipi_ddb() called\n"); +#endif Debugger(); } |