BUS_HINTED_CHILD(9)

BUS_HINTED_CHILD9

Notify a bus device about a potential child device identified by hints

Usage

#include <sys/param.h>

#include <sys/bus.h>

void

BUS_HINTED_CHILD(device_t dev, const char *dname, int dunit);

Overview

The BUS_HINTED_CHILD() method is invoked by the bus_enumerate_hinted_children(9) function for each set of named hints whose “at” hint matches the bus device dev. Typically, this method should determine if the set of hints for the given device name and unit sufficiently describe a new device. If so, a new device should be added via BUS_ADD_CHILD(9).

Releases

6 releases since FreeBSD 14.3-RELEASE; the text changed 1 time.

  1. 14.3–14.5
  2. 15.0–16.0

History

The BUS_HINTED_CHILD() method first appeared in FreeBSD 6.2.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.