From owner-cvs-all@FreeBSD.ORG Mon Dec 20 10:46:56 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB20816A4CE; Mon, 20 Dec 2004 10:46:56 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7662A43D58; Mon, 20 Dec 2004 10:46:56 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBKAku2e029928; Mon, 20 Dec 2004 10:46:56 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBKAkub1029927; Mon, 20 Dec 2004 10:46:56 GMT (envelope-from njl) Message-Id: <200412201046.iBKAkub1029927@repoman.freebsd.org> From: Nate Lawson Date: Mon, 20 Dec 2004 10:46:56 +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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 10:46:56 -0000 njl 2004-12-20 10:46:56 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pci_link.c Log: Only use the current value if there's one IRQ. Some systems return multiple IRQs (which is nonsense for _CRS) when the link hasn't been programmed. Before, this was a KASSERT. A ServerWorks system was seen returning IRQs of 0, 2 in response to _CRS before link setup. Thanks to sam@ for quick testing and turnaround on this. Tested by: sam Revision Changes Path 1.42 +8 -8 src/sys/dev/acpica/acpi_pci_link.c