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 don't attach on cascaded mpics for no...



details:   https://anonhg.NetBSD.org/src/rev/2b4b78bafdeb
branches:  trunk
changeset: 373001:2b4b78bafdeb
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Jan 12 01:19:21 2023 +0000

description:
don't attach on cascaded mpics for now - we don't really use them for anything
yet and apparently setup causes problems elsewhere, which needs investigation

diffstat:

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

diffs (29 lines):

diff -r 696858e1b60f -r 2b4b78bafdeb sys/arch/macppc/macppc/pic_u3_ht.c
--- a/sys/arch/macppc/macppc/pic_u3_ht.c        Wed Jan 11 09:35:06 2023 +0000
+++ b/sys/arch/macppc/macppc/pic_u3_ht.c        Thu Jan 12 01:19:21 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_u3_ht.c,v 1.13 2022/12/28 06:50:23 macallan Exp $  */
+/*     $NetBSD: pic_u3_ht.c,v 1.14 2023/01/12 01:19:21 macallan Exp $  */
 /*-
  * Copyright (c) 2013 Phileas Fogg
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_u3_ht.c,v 1.13 2022/12/28 06:50:23 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_u3_ht.c,v 1.14 2023/01/12 01:19:21 macallan Exp $");
 
 #include "opt_openpic.h"
 #include "opt_interrupt.h"
@@ -138,8 +138,10 @@
 
        u4 = OF_finddevice("/u4");
        if (u4 == -1) {
+#ifdef U3HT_CASCADE
                u4 = OF_finddevice("/u3");
                if (u4 == -1)
+#endif
                        return FALSE;
        }
 



Home | Main Index | Thread Index | Old Index