Query: bus_add_child
OS: debian
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BUS_ADD_CHILD(9) BSD Kernel Developer's Manual BUS_ADD_CHILD(9)NAMEBUS_ADD_CHILD -- add a device node to the tree with a given prioritySYNOPSIS#include <sys/param.h> #include <sys/bus.h> int BUS_ADD_CHILD(device_t dev, int order, const char *name, int unit);DESCRIPTIONThe BUS_ADD_CHILD() method is used by the driver identify routine to add devices to the tree. 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. Busses implementing BUS_ADD_CHILD() should insert the device into the tree using device_add_child(9) before adding things such as their own ivars and resource lists to the device.RETURN VALUESThe BUS_ADD_CHILD() method returns device_t added to the tree, or NULL.SEE ALSOdevice(9), device_add_child(9), driver(9)AUTHORSThis manual page was written by M. Warner Losh.BSDMay 13, 2004 BSD
| Related Man Pages | 
|---|
| bus_add_child(9) - debian | 
| device_identify(9) - debian | 
| bus_add_child(9) - linux | 
| bus_add_child(9) - osx | 
| device_identify(9) - osx | 
| Similar Topics in the Unix Linux Community | 
|---|
| Adding the individual columns of a matrix. | 
| Is UNIX an open source OS ? | 
| Detecting unused variables... | 
| A (ksh) Library For and From UNIX.com | 
| My first PERL incarnation... Audio Oscillograph |