From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 11 22:43:55 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF44B16A4E1 for ; Thu, 11 Nov 2004 22:43:55 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7075D43D31 for ; Thu, 11 Nov 2004 22:43:55 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 23034 invoked from network); 11 Nov 2004 22:43:55 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 11 Nov 2004 22:43:54 -0000 Received: from [10.50.41.235] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iABMhR8f046593; Thu, 11 Nov 2004 17:43:51 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: acpi@FreeBSD.org Date: Thu, 11 Nov 2004 17:37:00 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200411111737.00537.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: gallatin@FreeBSD.org cc: scottl@FreeBSD.org Subject: New ACPI PCI Link Routing code X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 22:43:55 -0000 I've done some work on the ACPI PCI link code to make it a bit more like $PIR in that it is link centric and uses actual new-bus devices for each device link. One benefit of this is that unused links will be disabled now which might help with interrupt aliasing problems on machines using APICs. Also, instead of routing IRQs for links via PCI device numbers using tunables, they are now routed via the link name ala $PIR. Thus, one uses 'hw.pci.link.LNKA.irq=X' to route LNKA to IRQ X. Also, when choosing a virgin interrupt, we no longer try to guess at which IRQs might be used by ISA devices. Instead, we only use known-good IRQs including IRQs that the BIOS has already used and the SCI if the link is being routed via ISA IRQs. The patch is at http://www.FreeBSD.org/~jhb/patches/acpi_pci_link.patch Please test and let me know if there are any problems, thanks. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org