From owner-freebsd-hackers Mon Oct 29 19:14:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id E1EFA37B405 for ; Mon, 29 Oct 2001 19:14:27 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f9U3EQV01947; Mon, 29 Oct 2001 20:14:26 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f9U3EH796714; Mon, 29 Oct 2001 20:14:25 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200110300314.f9U3EH796714@harmony.village.org> To: "Dr. Lorenzo Iania" Subject: Re: 4.4 boot question Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Thu, 25 Oct 2001 19:40:20 +0200." <006f01c15d7c$1e995e20$0500000a@LORENZO> References: <006f01c15d7c$1e995e20$0500000a@LORENZO> Date: Mon, 29 Oct 2001 20:14:17 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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