MCPcopy Create free account
hub / github.com/F-Stack/f-stack / devadded

Function devadded

freebsd/kern/subr_bus.c:765–769  ·  view source on GitHub ↗

* A device was added to the tree. We are called just after it successfully * attaches (that is, probe and attach success for this device). No call * is made if a device is merely parented into the tree. See devnomatch * if probe fails. If attach fails, no notification is sent (but maybe * we should have a different message for this). */

Source from the content-addressed store, hash-verified

763 * we should have a different message for this).
764 */
765static void
766devadded(device_t dev)
767{
768 devaddq("+", device_get_nameunit(dev), dev);
769}
770
771/*
772 * A device was removed from the tree. We are called just before this

Callers 1

device_attachFunction · 0.85

Calls 2

devaddqFunction · 0.85
device_get_nameunitFunction · 0.85

Tested by

no test coverage detected