Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   pgoyette
Date:           Mon May 24 20:29:41 UTC 2010

Modified Files:
        src/distrib/sets/lists/modules: mi
        src/sys/dev/pci: files.pci pci.c pci_subr.c pcivar.h
        src/sys/modules: Makefile
Added Files:
        src/sys/dev/pci: pci_verbose.c
        src/sys/modules/pciverbose: Makefile

Log Message:
Extract the vendor/product tables and related access routines into a
separate kernel module.  Update pci bus attach routine to load the
module (if available) when we're about to start scanning the bus, and
unload the module after the scan is finished.

On architectures which support loading of modules by the boot loader,
the 'pciverbose' module can be loaded and executed without needing to
rebuild the kernel.  On all architectures, using 'options PCIVERBOSE'
in the kernel configuration file will create a 'builtin' module which
is functionally equivalent to previous behavior.

XXX Although not nearly as large as the vendor and product tables,
XXX the PCI class and subclass tables might also be offloaded into
XXX the module at a future time.

XXX Cardbus (and possibly other) drivers should also be modified to
XXX load the module before scanning/attaching devices.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.328 -r1.329 src/sys/dev/pci/files.pci
cvs rdiff -u -r1.127 -r1.128 src/sys/dev/pci/pci.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/pci_verbose.c
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/pci/pcivar.h
cvs rdiff -u -r1.41 -r1.42 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/pciverbose/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index