*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> DEVICE_ATTACH (9)              
Title
Content
Arch
Section
 

DEVICE_ATTACH(9)

Contents


NAME    [Toc]    [Back]

     DEVICE_ATTACH -- attach a device

SYNOPSIS    [Toc]    [Back]

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

     int
     DEVICE_ATTACH(device_t dev);

DESCRIPTION    [Toc]    [Back]

     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).

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     device(9), DEVICE_DETACH(9), DEVICE_IDENTIFY(9), DEVICE_PROBE(9),
     DEVICE_SHUTDOWN(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
usbd FreeBSD supervise USB attach/detach
glxmakecontextcurrent IRIX attach a GLX context to a GLX drawable
glxmakecurrent IRIX attach a GLX context to a window or a GLX pixmap
kbdset IRIX attach to kbd mapping tables, set modes
glXMakeCurrent Tru64 attach a GLX context to a window or a GLX pixmap
cssm_CcToHandle Tru64 Get the module attach handle (CDSA)
shmdt FreeBSD attach or detach shared memory
shmat FreeBSD attach or detach shared memory
shmat Tru64 Attach a shared memory region
cpusetAttach IRIX attach the current process to a cpuset
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service