Rechercher une page de manuel
BUS_ADD_CHILD.9freebsd
Langue: en
Version: 307448 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
BSD mandoc
NAME
BUS_ADD_CHILD - add a device node to the tree with a given prioritySYNOPSIS
In sys/param.h In sys/bus.h Ft int Fn BUS_ADD_CHILD device_t dev int order const char *name int unitDESCRIPTION
The Fn BUS_ADD_CHILD method is used by the driver identify routine to add devices to the tree. Please see device_add_child9 for more details. The interface is the same as device_add_child9 however, the bus' Fn BUS_ADD_CHILD is called.Busses implementing Fn BUS_ADD_CHILD should insert the device into the tree using device_add_child9 before adding things such as their own ivars and resource lists to the device.
RETURN VALUES
The Fn BUS_ADD_CHILD method returns Vt device_t added to the tree, or NULLSEE ALSO
device(9), device_add_child9, driver(9)AUTHORS
This manual page was written by An M. Warner Losh .Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre