From owner-cvs-all@FreeBSD.ORG Fri Jun 6 10:56:31 2003 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 683EF37B401; Fri, 6 Jun 2003 10:56:31 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1718E43FBF; Fri, 6 Jun 2003 10:56:31 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h56HuU0U051035; Fri, 6 Jun 2003 10:56:30 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h56HuUc8051034; Fri, 6 Jun 2003 10:56:30 -0700 (PDT) Message-Id: <200306061756.h56HuUc8051034@repoman.freebsd.org> From: John Baldwin Date: Fri, 6 Jun 2003 10:56:30 -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/pci pci_bus.c src/sys/i386/include legacyvar.h 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: Fri, 06 Jun 2003 17:56:31 -0000 jhb 2003/06/06 10:56:30 PDT FreeBSD src repository Modified files: sys/i386/pci pci_bus.c sys/i386/include legacyvar.h Log: - Rename nexus_pcib to legacy_pcib. I've been meaning to do this for a while after the legacy device was added since this driver hangs from legacy and not nexus. - Make several methods non-static so they can be reused in a mptable host -> pci bridge driver that will be added at a later date. - Let legacy_pcib() use pcibios_pcib_route_interrupt() directly instead of wrapping it in a private function. Originally, I thought I was going to have the nexus_pcib() driver make a runtime APIC vs. 8259A check and call the appropriate routing method (MPTable vs. PIR) that way, but it ended up being cleaner to make nexus_pcib() just work with PIR and have a separate host -> pci bridge driver for the mptable/apic case. Revision Changes Path 1.4 +11 -0 src/sys/i386/include/legacyvar.h 1.102 +50 -56 src/sys/i386/pci/pci_bus.c