From owner-cvs-src@FreeBSD.ORG Fri Jan 6 19:24:39 2006 Return-Path: X-Original-To: cvs-src@freebsd.org 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 C8D5B16A41F; Fri, 6 Jan 2006 19:24:39 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB87E43D46; Fri, 6 Jan 2006 19:24:38 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 5447312 for multiple; Fri, 06 Jan 2006 14:26:07 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k06JObDE026091; Fri, 6 Jan 2006 14:24:37 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: src-committers@freebsd.org Date: Fri, 6 Jan 2006 14:25:25 -0500 User-Agent: KMail/1.8.2 References: <200601061922.k06JMJNa038463@repoman.freebsd.org> In-Reply-To: <200601061922.k06JMJNa038463@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601061425.27214.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1234/Fri Jan 6 08:54:31 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/amd64/amd64 mptable_pci.c src/sys/amd64/pci pci_bus.c src/sys/dev/acpica acpi_pcib_acpi.c acpi_pcib_pci.c src/sys/dev/pci pci_pci.c pcib_private.h src/sys/i386/i386 mptable_pci.c src/sys/i386/pci pci_bus.c src/sys/powerpc/ofw ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 06 Jan 2006 19:24:40 -0000 On Friday 06 January 2006 02:22 pm, John Baldwin wrote: > jhb 2006-01-06 19:22:19 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/amd64 mptable_pci.c > sys/amd64/pci pci_bus.c > sys/dev/acpica acpi_pcib_acpi.c acpi_pcib_pci.c > sys/dev/pci pci_pci.c pcib_private.h > sys/i386/i386 mptable_pci.c > sys/i386/pci pci_bus.c > sys/powerpc/ofw ofw_pcib_pci.c > sys/sparc64/pci apb.c ofw_pcib.c > Log: > - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the > various pcib drivers to use their own private devclass_t variables for > their modules. > - Use the DEFINE_CLASS_0() macro to declare drivers for the various pcib > drivers while I'm here. FWIW, most drivers don't use the devclass_t variable that they pass to DRIVER_MODULE(). It might be nice if we could make that optional so that only the drivers that actually need it declare the storage for one. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org