freebsd-skq/sys/sparc64/pci
jhb 01f4e87387 Convert pci_delete_child() to a bus_child_deleted() method.
Instead of providing a wrapper around device_delete_child() that the PCI
bus and child bus drivers must call explicitly, move the bulk of the logic
from pci_delete_child() into a bus_child_deleted() method
(pci_child_deleted()).  This allows PCI devices to be safely deleted via
device_delete_child().
- Add a bus_child_deleted method to the ACPI PCI bus which clears the
  device_t associated with the corresponding ACPI handle in addition to
  the normal PCI bus cleanup.
- Change cardbus_detach_card to call device_delete_children() and move
  CardBus-specific delete logic into a new cardbus_child_deleted() method.
- Use device_delete_child() instead of pci_delete_child() in the SRIOV code.
- Add a bus_child_deleted method to the OpenFirmware PCI bus drivers which
  frees the OpenFirmware device info for each PCI device.

Reviewed by:	imp
Tested on:	amd64 (CardBus and PCI-e hotplug)
Differential Revision:	https://reviews.freebsd.org/D5831
2016-04-06 04:10:22 +00:00
..
apb.c Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
fire.c As <machine/pmap.h> is included from <vm/pmap.h>, there is no need to 2016-02-22 09:02:20 +00:00
firereg.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00
firevar.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00
ofw_pci_if.m
ofw_pci.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
ofw_pci.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00
ofw_pcib_subr.c
ofw_pcib_subr.h
ofw_pcib.c
ofw_pcibus.c Convert pci_delete_child() to a bus_child_deleted() method. 2016-04-06 04:10:22 +00:00
psycho.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
psychoreg.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00
psychovar.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00
sbbc.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
schizo.c Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
schizoreg.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00
schizovar.h - Factor out the common and generic parts of the sparc64 host-PCI-bridge 2015-09-12 22:49:32 +00:00