BUS_CHILD_DETACHED(9) notify a bus device that a child was detached


In sys/param.h In sys/bus.h Ft void Fn BUS_CHILD_DETACHED device_t dev device_t child


The Fn 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_DETACH9 method.