Date: Fri, 6 Jan 2006 14:25:25 -0500 From: John Baldwin <jhb@freebsd.org> To: src-committers@freebsd.org 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 ... Message-ID: <200601061425.27214.jhb@freebsd.org> In-Reply-To: <200601061922.k06JMJNa038463@repoman.freebsd.org> References: <200601061922.k06JMJNa038463@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601061425.27214.jhb>