| 
 | 
DEVICE_ATTACH(9)
Contents
 | 
 
 
      DEVICE_ATTACH -- attach 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 devfs
     entries).
     Zero is returned on success, otherwise an appropriate error is returned.
 
     device(9), DEVICE_DETACH(9), DEVICE_IDENTIFY(9), DEVICE_PROBE(9),
     DEVICE_SHUTDOWN(9)
     This man page was written by Doug Rabson.
FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1  [ Back ] |