Fix a bug in the last commit. 4.x improperly tries to add the children
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 21 Feb 2004 09:16:27 +0000 (09:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 21 Feb 2004 09:16:27 +0000 (09:16 +0000)
commitc01b8d8417ba9f380dae3672dd91c2ea19006de0
treed9ebfbff034e89465818d729e4017497e6d8a2d0
parent4a98844476c95cf5063594bacba422dcac67fa34
Fix a bug in the last commit.  4.x improperly tries to add the children
of a PCI bus during the probe phase.  This doesn't mix well with 5.x's
bus code which adds the children in the attach phase.  Clean up
pci_probe().  The code, unfortunately, is still quite fragile.

Cleanup pci_read_device().

Bring in pcib_*() routines from 5.x into pcisupport.c.  Add support for
bridges which do not support particular PCI mapping types (from FreeBSD 5.x).

Fix a bug in the pcib_route_interrupt() method.
sys/bus/pci/pci.c
sys/bus/pci/pci_private.h
sys/bus/pci/pcisupport.c