From owner-cvs-all@FreeBSD.ORG Tue Jul 1 07:08:34 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 502A937B401; Tue, 1 Jul 2003 07:08:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EACD844014; Tue, 1 Jul 2003 07:08:33 -0700 (PDT) (envelope-from tmm@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 h61E8X0U097081; Tue, 1 Jul 2003 07:08:33 -0700 (PDT) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h61E8XZW097080; Tue, 1 Jul 2003 07:08:33 -0700 (PDT) Message-Id: <200307011408.h61E8XZW097080@repoman.freebsd.org> From: Thomas Moestl Date: Tue, 1 Jul 2003 07:08:33 -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/dev/pci pci.c pci_if.m pci_private.h src/sys/dev/acpica acpi_pci.c src/sys/dev/cardbus cardbus.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: Tue, 01 Jul 2003 14:08:34 -0000 tmm 2003/07/01 07:08:33 PDT FreeBSD src repository Modified files: sys/dev/pci pci.c pci_if.m pci_private.h sys/dev/acpica acpi_pci.c sys/dev/cardbus cardbus.c Log: Add a new PCI interface method, assign_interrupt, to determine the interrupt to be used for a device. This is intended solely for internal use of PCI bus implementations, and exists so that PCI bus drivers implementing special interrupt assignment methods which require additional work at the bus level to work right can be easily derived from the generic driver (or any other one) without resorting to hacks. It will be used in the sparc64 ofw_pcibus driver, which will be committed shortly. Make use of this method in the generic implementation, and add it to the method table of bus drivers derived from the PCI one. Reviewed by: imp, -hackers Revision Changes Path 1.4 +1 -0 src/sys/dev/acpica/acpi_pci.c 1.39 +1 -0 src/sys/dev/cardbus/cardbus.c 1.223 +17 -6 src/sys/dev/pci/pci.c 1.6 +5 -0 src/sys/dev/pci/pci_if.m 1.9 +1 -0 src/sys/dev/pci/pci_private.h