git: Expand the support for PCI-e memory mapped configuration sp

看板DFBSD_commit作者時間16年前 (2009/11/09 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 4ea06a727073466f2954853daf292ec27bcfa836 Author: Alexander Polakov <polachok@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
文章代碼(AID): #1AzqRmOH (DFBSD_commit)