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

John Baldwin jhb at FreeBSD.org
Wed Sep 10 18:06:21 UTC 2008


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


More information about the cvs-src mailing list