BUS_CHILD_DETACHED9freebsd
Notify a bus device that a child was detached
Usage
#include <sys/param.h>
#include <sys/bus.h>
void
BUS_CHILD_DETACHED(device_t dev, device_t child);
Overview
The BUS_CHILD_DETACHED() method is invoked by the new-bus framework after a device is detached. A bus driver can provide an implementation of this method to reclaim any resources allocated on behalf of the child or to cleanup state not properly released by a DEVICE_DETACH(9) method.
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.