SYNOPSISIn sys/param.h In sys/bus.h Ft int Fn DEVICE_ATTACH device_t dev
DESCRIPTIONAttach a device to the system after the Fn DEVICE_PROBE method has been called and has indicated that the device exists. The Fn DEVICE_ATTACH method should initialize the hardware and allocate other system resources (such as devfs(5) entries).
Devices which implement busses should use this method to probe for the existence of devices attached to the bus and add them as children. If this is combined with the use of bus_generic_attach9 the child devices will be automatically probed and attached.
RETURN VALUESZero is returned on success, otherwise an appropriate error is returned.
AUTHORSThis manual page was written by An Doug Rabson Aq [email protected] .