diff options
author | marius <marius@FreeBSD.org> | 2007-06-18 21:49:42 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2007-06-18 21:49:42 +0000 |
commit | d1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b (patch) | |
tree | 967421577f0cba4602a476185885c29ead6b6624 /sys/netinet/sctp_indata.c | |
parent | 5af2c4982c0f7030084988f19a669c74fcd12a07 (diff) | |
download | FreeBSD-src-d1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b.zip FreeBSD-src-d1ccb2d7c785a4111ecde1ed4493572d8c7e6b0b.tar.gz |
- 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.
Diffstat (limited to 'sys/netinet/sctp_indata.c')
0 files changed, 0 insertions, 0 deletions