cvs commit: src/sys/dev/pci pci_pci.c pcireg.h

John Baldwin jhb at
Wed Aug 20 18:30:12 UTC 2008

jhb         2008-08-20 18:29:59 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci_pci.c pcireg.h 
  SVN rev 181934 on 2008-08-20 18:29:59Z by jhb
  The config space registers holding the upper 32-bits of the prefetchable
  memory area's base and limit are optional.  The low 4-bits of the "low"
  prefetchable registers indicates whether or not a 32-bit or 64-bit
  region is supported.  The PCI-PCI driver had been assuming that all bridges
  supported a 64-bit region (and thus the two upper 32-bit registers).  Fix
  the driver to only use those registers if the low 4-bits of the "low"
  registers indicate that a 64-bit region is supported.  The PCI-PCI bridge
  in the XBox happens to be a bridge that only supports a 32-bit region.
  Reported by:    rink
  MFC after:      1 week
  Revision  Changes    Path
  1.55      +16 -4     src/sys/dev/pci/pci_pci.c
  1.65      +3 -0      src/sys/dev/pci/pcireg.h

More information about the cvs-all mailing list