Date: Mon, 6 Dec 2004 08:27:10 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c Message-ID: <200412060827.iB68RAmE058040@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412060827.iB68RAmE058040>