Provided by: freebsd-manpages_10.1~RC1-1_all
BUS_CHILD_DELETED — notify a bus device that a child is being deleted
#include <sys/param.h> #include <sys/bus.h> void BUS_CHILD_DELETED(device_t dev, device_t child);
The BUS_CHILD_DELETED() method is invoked by the new-bus framework when a device is deleted. A bus driver can provide an implementation of this method to release bus-specific resources associated with a device such as instance variables.
The BUS_CHILD_DELETED() method first appeared in FreeBSD 10.0.