The 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.
The BUS_ADD_CHILD method returns
.Vt device_t added to the tree, or NULL.
device(9), device_add_child(9), driver(9)