Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/macppc reduce debug spam, use IPI_VECTOR



details:   https://anonhg.NetBSD.org/src/rev/b1a536abfb4d
branches:  trunk
changeset: 833066:b1a536abfb4d
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jun 07 17:02:12 2018 +0000

description:
reduce debug spam, use IPI_VECTOR

diffstat:

 sys/arch/macppc/macppc/pic_u3_ht.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r d1703dd2c21c -r b1a536abfb4d sys/arch/macppc/macppc/pic_u3_ht.c
--- a/sys/arch/macppc/macppc/pic_u3_ht.c        Thu Jun 07 15:26:09 2018 +0000
+++ b/sys/arch/macppc/macppc/pic_u3_ht.c        Thu Jun 07 17:02:12 2018 +0000
@@ -218,7 +218,7 @@
            x & 0xff, ((x & 0x1f00) >> 8) + 1, ((x & 0x07ff0000) >> 16) + 1);
 
        /* up to 128 interrupt sources, plus IPI */
-       pic->pic_numintrs = 129;
+       pic->pic_numintrs = IPI_VECTOR + 1;
        pic->pic_cookie = (void *) addr;
        pic->pic_enable_irq = u3_ht_enable_irq;
        pic->pic_reenable_irq = u3_ht_enable_irq;
@@ -437,7 +437,7 @@
        if (u3_ht_is_ht_irq(u3_ht, irq))
                u3_ht_establish_ht_irq(u3_ht, irq, type);
 
-       aprint_error("%s: setting IRQ %d %d to priority %d %x\n", __func__, irq,
+       DPRINTF("%s: setting IRQ %d %d to priority %d %x\n", __func__, irq,
            type, realpri, x);
 }
 



Home | Main Index | Thread Index | Old Index