cvs commit: src/sys/amd64/pci pci_cfgreg.c src/sys/i386/pci pci_cfgreg.c

John Baldwin jhb at
Wed Sep 10 20:13:28 UTC 2008

On Wednesday 10 September 2008 02:06:08 pm John Baldwin wrote:
> 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.

Linux has a similar hack^Wworkaround.

John Baldwin

More information about the cvs-all mailing list