summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2008-09-19 01:49:54 +0000
committerdrahn <drahn@openbsd.org>2008-09-19 01:49:54 +0000
commitbbd3f39fb2a80fcecf974cdb77cb80f488b8ea65 (patch)
tree84ac329a568dce32b69f76ff9870a7ff96ad98c8
parentmiod pointed out that some items were multiply defined (patched into (diff)
downloadwireguard-openbsd-bbd3f39fb2a80fcecf974cdb77cb80f488b8ea65.tar.xz
wireguard-openbsd-bbd3f39fb2a80fcecf974cdb77cb80f488b8ea65.zip
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).
-rw-r--r--sys/arch/macppc/dev/openpic.c8
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();
}