Date: Mon, 29 Oct 2001 20:14:17 -0700 From: Warner Losh <imp@harmony.village.org> To: "Dr. Lorenzo Iania" <l.iania@sintesi.net> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 4.4 boot question Message-ID: <200110300314.f9U3EH796714@harmony.village.org> In-Reply-To: Your message of "Thu, 25 Oct 2001 19:40:20 %2B0200." <006f01c15d7c$1e995e20$0500000a@LORENZO> References: <006f01c15d7c$1e995e20$0500000a@LORENZO>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <006f01c15d7c$1e995e20$0500000a@LORENZO> "Dr. Lorenzo Iania" writes: : pci_cfgintr_search: linked (41) to configured irq 0 at 0:2:0 I have a patch for this: Index: pci.c =================================================================== RCS file: /cache/ncvs/src/sys/pci/Attic/pci.c,v retrieving revision 1.141.2.10 diff -u -r1.141.2.10 pci.c --- pci.c 2001/08/21 17:21:13 1.141.2.10 +++ pci.c 2001/08/27 07:01:38 @@ -1610,7 +1610,8 @@ * If device doesn't have an interrupt routed, and is * deserving of an interrupt, try to assign it one. */ - if ((type == SYS_RES_IRQ) && (cfg->intline == 255) && + if ((type == SYS_RES_IRQ) && + (cfg->intline == 255 || cfg->intline == 0) && (cfg->intpin != 0) && (start == 0) && (end == ~0UL)) { cfg->intline = pci_cfgintr(pci_get_bus(child), pci_get_slot(child), cfg->intpin); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110300314.f9U3EH796714>