|
NAMEBUS_ADD_CHILD —
add a device node to the tree with a given priority
SYNOPSIS#include <sys/param.h>
#include <sys/bus.h>
device_t
DESCRIPTIONTheBUS_ADD_CHILD () method is used by the driver
identify routine to add devices to the tree. It can also be used to add
children to buses that implement this routine in other contexts, although the
behavior is bus specific. Please see
device_add_child(9)
for more details. The interface is the same as
device_add_child(9)
however, the bus' BUS_ADD_CHILD () is called.
Buses implementing A panic will result when called for a bus that does not implement
RETURN VALUESTheBUS_ADD_CHILD () method returns
device_t added to the tree, or
NULL to indicate failure.
SEE ALSOdevice(9), device_add_child(9), driver(9)AUTHORSThis manual page was written by M. Warner Losh.
Visit the GSP FreeBSD Man Page Interface. |