Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2008 18:29:59 +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/dev/pci pci_pci.c pcireg.h
Message-ID:  <200808201830.m7KIU9u6044838@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2008-08-20 18:29:59 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci_pci.c pcireg.h 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808201830.m7KIU9u6044838>