freebsd-nq/sys/dev/xen
John Baldwin 652523175b Associate device_t objects with ACPI handles via PCI_CHILD_ADDED().
Previously, the ACPI PCI bus driver did a single pass over the devices in
the namespace that were a child of a given PCI bus to associate the
PCI bus-enumerated device_t devices with the corresponding ACPI handles.
However, this meant that handles were only established at runtime for devices
found during the initial PCI bus scan.

PCI_IOV adds devices that show up after the initial PCI bus scan, and coming
changes to add a bus rescan can also add devices after the initial scan.

This change adds a pci_child_added() callback to the ACPI PCI bus that walks
the namespace to find the ACPI handle for each device that is added.  Using
a callback means that the handle is correctly set for any device no matter
how it is added (initial scan, IOV, or a bus rescan).
2016-04-07 17:15:16 +00:00
..
balloon xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
blkback xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
blkfront Pass through some new block device features. 2016-04-03 11:18:20 +00:00
console xen/console: Introduce a new console driver for Xen guest 2015-10-08 16:39:43 +00:00
control Remove a redundant check. 2016-04-05 00:10:07 +00:00
debug
evtchn
grant_table xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
netback New way to manage reference counting of mbuf external storage. 2016-03-01 00:17:14 +00:00
netfront tcp/lro: Use tcp_lro_flush_all in device drivers to avoid code duplication 2016-04-01 06:28:33 +00:00
pci Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). 2016-04-07 17:15:16 +00:00
pcifront Add domain support to PCI bus allocation 2015-09-16 23:34:51 +00:00
privcmd
pvcpu
timer
xenpci xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00
xenstore xen: Code cleanup and small bug fixes 2015-10-21 10:44:07 +00:00