DOKK / manpages / debian 10 / freebsd-manpages / BUS_CHILD_DETACHED.9freebsd.en
BUS_CHILD_DETACHED(9) Kernel Developer's Manual BUS_CHILD_DETACHED(9)

BUS_CHILD_DETACHEDnotify a bus device that a child was detached

#include <sys/param.h>
#include <sys/bus.h>

void
BUS_CHILD_DETACHED(device_t dev, device_t child);

The () 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.

device(9), DEVICE_DETACH(9)

August 21, 2012 Debian