From owner-cvs-src@FreeBSD.ORG Tue May 4 14:17:53 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 BE69316A4CE; Tue, 4 May 2004 14:17:53 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D52643D2F; Tue, 4 May 2004 14:17:53 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i44LHrGe089461; Tue, 4 May 2004 14:17:53 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i44LHrsf089460; Tue, 4 May 2004 14:17:53 -0700 (PDT) (envelope-from jhb) Message-Id: <200405042117.i44LHrsf089460@repoman.freebsd.org> From: John Baldwin Date: Tue, 4 May 2004 14:17:53 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/include pci_cfgreg.h src/sys/i386/pci pci_bus.c pci_pir.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: Tue, 04 May 2004 21:17:53 -0000 jhb 2004/05/04 14:17:53 PDT FreeBSD src repository Modified files: sys/i386/include pci_cfgreg.h sys/i386/pci pci_bus.c pci_pir.c Log: - Create a pir0 psuedo device as a child of legacy0 if we attach a legacy host-PCI bridge device and find a valid $PIR. - Make pci_pir_parse() private to pci_pir.c and have pir0's attach routine call it instead of having legacy_pcib_attach() call it. - Implement suspend/resume support for the $PIR by giving pir0 a resume method that calls the BIOS to reroute each link that was already routed before the machine was suspended. - Dump the state of the routed flag in the links display code. - If a link's IRQ is set by a tunable, then force that link to be re-routed the first time it is used. - Move the 'Found $PIR' message under bootverbose as the pir0 description line lists the number of entries already. The pir0 line also only shows up if we are actually using the $PIR which is a bonus. - Use BUS_CONFIG_INTR() to ensure that any IRQs used by a PCI link are set to level/low trigger/polarity. Revision Changes Path 1.12 +0 -1 src/sys/i386/include/pci_cfgreg.h 1.110 +6 -2 src/sys/i386/pci/pci_bus.c 1.111 +119 -6 src/sys/i386/pci/pci_pir.c