Date: Wed, 10 Sep 2008 18:06:08 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/pci pci_cfgreg.c src/sys/i386/pci pci_cfgreg.c Message-ID: <200809101806.m8AI6KOH097091@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-09-10 18:06:08 UTC
FreeBSD src repository
Modified files:
sys/amd64/pci pci_cfgreg.c
sys/i386/pci pci_cfgreg.c
Log:
SVN rev 182910 on 2008-09-10 18:06:08Z by jhb
Some K8 chipsets don't expose all of the PCI devices on bus 0 via PCIe
memory-mapped config access. Add a workaround for these systems by
checking the first function of each slot on bus 0 using both the
memory-mapped config access and the older type 1 I/O port config access.
If we find a slot that is only visible via the type 1 I/O port config
access, we flag that slot. Future PCI config transactions to flagged
slots on bus 0 use type 1 I/O port config access rather than memory mapped
config access.
Revision Changes Path
1.112 +48 -14 src/sys/amd64/pci/pci_cfgreg.c
1.131 +44 -14 src/sys/i386/pci/pci_cfgreg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809101806.m8AI6KOH097091>
