cvs commit: src/sys/conf files.sparc64 files.sun4v src/sys/sparc64/pci ofw_pci.c ofw_pci.h ofw_pci_if.m ofw_pcib_subr.c psycho.c

Marius Strobl marius at FreeBSD.org
Mon Jun 18 21:49:43 UTC 2007


marius      2007-06-18 21:49:42 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             files.sparc64 files.sun4v 
    sys/sparc64/pci      ofw_pci.h ofw_pci_if.m ofw_pcib_subr.c 
                         psycho.c 
  Removed files:
    sys/sparc64/pci      ofw_pci.c 
  Log:
  - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface,
    allowing the driver for the host-PCI-bridge to indicate that
    reenumeration of the PCI busses isn't supported by returning
    -1 instead of a valid PCI bus number. This is needed in order
    support both Tomatillo, which don't support reenumeration and
    thus are apparently intended to be used for independently
    numbered PCI domains only, and Psycho bridges, whose busses
    need to be reenumerated on at least some E450, without the
    #ifndef currently used for sun4v in order to support multiple
    independently PCI domains. The actual allocation/incrementation
    of the PCI bus numbers is now done in psycho(4), though it
    no longer establish a mapping between bus numbers and device
    nodes like ofw_pci_alloc_busno() did as that functionality
    wasn't used (but can easily brought back if really needed).
    The now no longer used sys/sparc64/pci/ofw_pci.c is also
    removed from sys/conf/files.sun4v as ofw_pci_alloc_busno()
    wasn't used there in the first place.
  - In ofw_pci_default_{adjust_busrange,intr_pending}() sanity
    check that the device has a parent before passing it on.
  - Make psycho_softcs static to sys/sparc64/pci/psycho.c as
    it's not used outside of that module.
  - In sys/sparc64/pci/ofw_pcib_subr.c remove the superfluous
    inclusion of opt_global.h and correct the debug output for
    adjusting the subordinate bus number.
  
  Revision  Changes    Path
  1.91      +0 -1      src/sys/conf/files.sparc64
  1.10      +0 -1      src/sys/conf/files.sun4v
  1.17      +0 -76     src/sys/sparc64/pci/ofw_pci.c (dead)
  1.11      +0 -2      src/sys/sparc64/pci/ofw_pci.h
  1.8       +26 -4     src/sys/sparc64/pci/ofw_pci_if.m
  1.8       +14 -13    src/sys/sparc64/pci/ofw_pcib_subr.c
  1.67      +15 -2     src/sys/sparc64/pci/psycho.c


More information about the cvs-src mailing list