cvs commit: src/sys/i386/pci pci_cfgreg.c
Scott Long
scottl at FreeBSD.org
Mon Dec 6 00:27:11 PST 2004
scottl 2004-12-06 08:27:10 UTC
FreeBSD src repository
Modified files:
sys/i386/pci pci_cfgreg.c
Log:
Add support for the memory-mapped PCI Express configuration mechanism. This
actually is a property of the northbridge and applies to all PCI/PCI-X/PCIe
devices in the system, though only PCIe devices will respond to registers
higher than 256. This uses per-CPU pools of temporary mappings so that
the whole 256MB of configuration space doesn't have to be mapped all at
once. While the sf_buf API was considered for this, the fact that it
requires sleep locks and can return failure made it unsuitable for this use.
For now only the Intel Grantsdale and Lindenhurst (925 and 752x) chipsets are
supported. Since there doesn't appear to be a compatible way to determine
northbridge support, new chipsets will have to be explicitely added in the
future.
Revision Changes Path
1.112 +211 -8 src/sys/i386/pci/pci_cfgreg.c
More information about the cvs-all
mailing list