From owner-cvs-src@FreeBSD.ORG Thu Aug 12 02:06:19 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D71E16A4CE; Thu, 12 Aug 2004 02:06:19 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42EC443D46; Thu, 12 Aug 2004 02:06:19 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7C26Jag099664; Thu, 12 Aug 2004 02:06:19 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7C26JXP099663; Thu, 12 Aug 2004 02:06:19 GMT (envelope-from njl) Message-Id: <200408120206.i7C26JXP099663@repoman.freebsd.org> From: Nate Lawson Date: Thu, 12 Aug 2004 02:06:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_pci_link.c acpi_pcib.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2004 02:06:19 -0000 njl 2004-08-12 02:06:19 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pci_link.c acpi_pcib.c Log: Fix the PRT entry code in acpi_pci_link to always add the entry, even if there is no irq link. Since we now use the stored copy of PRT, not the one that used to be passed into acpi_pcib_route_interrupt(), we need it in the list. [1] Fix a bug in acpi_pci_find_prt() where we weren't checking the bus, thus choosing the wrong PRT entry to use for routing the link. Also, add a printf for the case where the PRT entry is not found as this should not happen. Tested by: marcel [1] Revision Changes Path 1.21 +40 -41 src/sys/dev/acpica/acpi_pci_link.c 1.48 +4 -1 src/sys/dev/acpica/acpi_pcib.c