git: Expand the support for PCI-e memory mapped configuration space access.
Alexander Polakov
polachok at crater.dragonflybsd.org
Sun Nov 8 14:31:39 PST 2009
commit 4ea06a727073466f2954853daf292ec27bcfa836
Author: Alexander Polakov <polachok at gmail.com>
Date: Sun Nov 1 23:16:28 2009 +0300
Expand the support for PCI-e memory mapped configuration space access.
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.
- 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.
Obtained-from: FreeBSD
Summary of changes:
sys/bus/pci/i386/pci_cfgreg.c | 152 ++++++++++++++++++++++++++-----------
sys/bus/pci/i386/pci_cfgreg.h | 1 +
sys/bus/pci/x86_64/pci_cfgreg.c | 160 +++++++++++++++++++++++++++-----------
sys/bus/pci/x86_64/pci_cfgreg.h | 1 +
sys/dev/acpica5/acpi.c | 33 ++++++++
5 files changed, 257 insertions(+), 90 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4ea06a727073466f2954853daf292ec27bcfa836
--
DragonFly BSD source repository
More information about the Commits
mailing list