Date: Mon, 4 May 2009 21:04:29 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/include pci_cfgreg.h src/sys/amd64/pci pci_cfgreg.c src/sys/dev/acpica acpi.c src/sys/i386/include pci_cfgreg.h src/sys/i386/pci pci_cfgreg.c Message-ID: <200905042106.n44L6Oq8025612@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-05-04 21:04:29 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/amd64/include pci_cfgreg.h
sys/amd64/pci pci_cfgreg.c
sys/dev/acpica acpi.c
sys/i386/include pci_cfgreg.h
sys/i386/pci pci_cfgreg.c
Log:
SVN rev 191799 on 2009-05-04 21:04:29Z by jhb
MFC: Expand the support for PCI-e memory mapped configuration space access.
Note that unlike in HEAD, this defaults to off and must be explicitly
enabled by setting the loader tunable hw.pci.mcfg=1.
- Add support for the Intel 915GM chipsets by reading the BAR.
- Add parsing of the ACPI MCFG table to discover memory mapped configuration
access on modern machines.
- Port the memory mapped config acess to amd64. On amd64 it uses the direct
map.
- For config requests to busses not listed in ACPI's min/max valid buses,
fall back to using type #1 configuration access instead.
- Add a workaround for some K8 chipsets that do not expose all devices on
bus 0 via MCFG and fall back to type #1 for those devices instead.
Revision Changes Path
1.13.10.2 +1 -0 src/sys/amd64/include/pci_cfgreg.h
1.109.2.2 +183 -7 src/sys/amd64/pci/pci_cfgreg.c
1.243.2.5 +41 -0 src/sys/dev/acpica/acpi.c
1.14.10.1 +1 -0 src/sys/i386/include/pci_cfgreg.h
1.124.2.3 +113 -43 src/sys/i386/pci/pci_cfgreg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905042106.n44L6Oq8025612>
