freebsd-dev/sys/powerpc/powermac
Marius Strobl 55aaf894e8 Make the PCI code aware of PCI domains (aka PCI segments) so we can
support machines having multiple independently numbered PCI domains
and don't support reenumeration without ambiguity amongst the
devices as seen by the OS and represented by PCI location strings.
This includes introducing a function pci_find_dbsf(9) which works
like pci_find_bsf(9) but additionally takes a domain number argument
and limiting pci_find_bsf(9) to only search devices in domain 0 (the
only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
to no longer report false positives when searching for siblings and
dupe devices in the same domain respectively.
Along with this change the sole host-PCI bridge driver converted to
actually make use of PCI domain support is uninorth(4), the others
continue to use domain 0 only for now and need to be converted as
appropriate later on.
Note that this means that the format of the location strings as used
by pciconf(8) has been changed and that consumers of <sys/pciio.h>
potentially need to be recompiled.

Suggested by:	jhb
Reviewed by:	grehan, jhb, marcel
Approved by:	re (kensmith), jhb (PCI maintainer hat)
2007-09-30 11:05:18 +00:00
..
ata_kauai.c Remove incorrect configuration setting that limited the Kauai ATA controller 2005-05-14 02:11:45 +00:00
ata_macio.c Catch up with latest ATA newbus commits. 2005-05-01 13:11:29 +00:00
grackle.c Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
gracklevar.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
hrowpic.c Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
hrowpicvar.h Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
macio.c Set the rid for any resource obtained from rman_resource_reserve. 2006-04-20 04:19:10 +00:00
maciovar.h Convert to use the recently introduced set of ofw_bus_gen_get_*() for 2005-12-03 11:59:26 +00:00
openpic_macio.c Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
pswitch.c Make pswitch_intr() returns interrupt handling status. 2007-03-02 15:13:17 +00:00
uninorth.c Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
uninorthvar.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00