From owner-freebsd-current@FreeBSD.ORG Fri Jan 23 11:29:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCA0216A4CE for ; Fri, 23 Jan 2004 11:29:10 -0800 (PST) Received: from mail5.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C94C743D78 for ; Fri, 23 Jan 2004 11:28:20 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27522 invoked from network); 23 Jan 2004 19:28:16 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 23 Jan 2004 19:28:16 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i0NJRvM0030753; Fri, 23 Jan 2004 14:27:57 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: ticso@cicely.de, Bernd Walter Date: Fri, 23 Jan 2004 14:28:51 -0500 User-Agent: KMail/1.5.4 References: <20040102195244.GE17023@cicely12.cicely.de> <20040102224015.GI17023@cicely12.cicely.de> In-Reply-To: <20040102224015.GI17023@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401231428.51871.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Bernd Walter cc: ticso@cicely.de cc: current@FreeBSD.org Subject: Re: Still IRQ routing problems with bridged devices. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 19:29:11 -0000 On Friday 02 January 2004 05:40 pm, Bernd Walter wrote: > On Fri, Jan 02, 2004 at 04:30:44PM -0500, John Baldwin wrote: > > 3) the host bridge lookes up 0.2.0 INTA in the $PIR, chooses an IRQ from > > the possible list (defaults to just using first IRQ) and returns it. > > This step should be skipping IRQ 4 adn using IRQ 10 or 11 instead > > That's the interesting part. > What exactly is in the $PIR table? > Fact is that the 4 PCI connectors share the same intlines wired in > different INTA-D order which is board specific. > The intlines are setup by the BIOS to 5, 10, 11 and 12. > Now FreeBSD has found out that it needs 0.2.0 INTA for the bridged device > 1.8.0 INTA. > It now incorrectly selects IRQ4 for 0.2.0 INTA, which is already > in use for a ISA device by an PnP On-Board component. > It also has to connect the intline with IRQ4 anywhere in the chipset, > which doesn't seem to happen, because the IRQ doesn't even work. > And I don't see the point why this is not a problem for non bridged > devices, which would also require an IRQ for 0.2.0 INTA. Can you please try the patch at http://www.FreeBSD.org/~jhb/patches/pir.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org