#include <sys/bus.h> int
DEVICE_ATTACH (device_t dev);
Attach a device to the system after the
method has been called and has indicated that
the device exists.
method should initialize the hardware and allocate other
system resources (such as
Devices which implement busses should use this method to probe for
the existence of devices attached to the bus and add them as
If this is combined with the use of
the child devices will be automatically probed and attached.
Zero is returned on success, otherwise an appropriate error is returned.