man.bsd.lv manual page server

Manual Page Search Parameters

DEVICE_ATTACH(9) Kernel Developer's Manual DEVICE_ATTACH(9)

DEVICE_ATTACHattach a device

#include <sys/param.h>
#include <sys/bus.h>

int
DEVICE_ATTACH(device_t dev);

Attach a device to the system. The probe method will have been called and will have indicated that the device exists. This routine should initialise the hardware and allocate other system resources (such as /dev entries).

Zero is returned on success, otherwise an appropriate error is returned.

device(9), DEVICE_DETACH(9), DEVICE_PROBE(9)

This man page was written by Doug Rabson.

June 16, 1998 DragonFly-5.6.1