1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/sparc64/pci
Marius Strobl f0d8df7bb2 - 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.
2007-06-18 21:49:42 +00:00
..
apb.c
ofw_pci_if.m - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
ofw_pci.h - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
ofw_pcib_subr.c - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
ofw_pcib_subr.h
ofw_pcib.c For sun4u also add PCI busses with a device unit number of -1 2007-06-18 21:46:07 +00:00
ofw_pcibus.c Remove unused softc. 2007-06-17 16:44:08 +00:00
psycho.c - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
psychoreg.h o Changes to psycho_attach(): [1] 2007-01-08 01:26:47 +00:00
psychovar.h - Use the newly introduced pcib_mtx spin lock to lock psycho_ce(), 2007-06-16 23:46:41 +00:00