Module Name: src Committed By: macallan Date: Thu Jan 12 01:19:21 UTC 2023
Modified Files: src/sys/arch/macppc/macppc: pic_u3_ht.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/macppc/macppc/pic_u3_ht.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/macppc/macppc/pic_u3_ht.c diff -u src/sys/arch/macppc/macppc/pic_u3_ht.c:1.13 src/sys/arch/macppc/macppc/pic_u3_ht.c:1.14 --- src/sys/arch/macppc/macppc/pic_u3_ht.c:1.13 Wed Dec 28 06:50:23 2022 +++ src/sys/arch/macppc/macppc/pic_u3_ht.c Thu Jan 12 01:19:21 2023 @@ -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 @@ int init_u3_ht(void) u4 = OF_finddevice("/u4"); if (u4 == -1) { +#ifdef U3HT_CASCADE u4 = OF_finddevice("/u3"); if (u4 == -1) +#endif return FALSE; }