BUS_CHILD_DELETED(9freebsd)

BUS_CHILD_DELETED9freebsd

Notify a bus device that a child is being deleted

Usage

#include <sys/param.h>

#include <sys/bus.h>

void

BUS_CHILD_DELETED(device_t dev, device_t child);

Overview

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10
  4. 11–13

History

The BUS_CHILD_DELETED() method first appeared in FreeBSD 10.0.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.