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

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

Contents


DEVICE_PROBE_AND_AT... FreeBSD Kernel Developer's ManualDEVICE_PROBE_AND_AT...

NAME    [Toc]    [Back]

     device_probe_and_attach -- initialise a device

SYNOPSIS    [Toc]    [Back]

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

     int
     device_probe_and_attach(device_t dev);

DESCRIPTION    [Toc]    [Back]

     This function is called during autoconfiguration to initialise the
     devices in the system.  For each device, the DEVICE_PROBE(9) method of
     each suitable driver is called and if a probe succeeds, a description of
     the device is printed and the DEVICE_ATTACH(9) method is called.  If the
     device is disabled using device_disable(9) then it will not be probed.

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     device(9), driver(9)

AUTHORS    [Toc]    [Back]

     This manual page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
pthread_attr_init OpenBSD initialise and destroy threads attribute object
pthread_attr_destroy OpenBSD initialise and destroy threads attribute object
autochanger HP-UX SCSI interfaces for medium changer device and magnetooptical autochanger surface device
devctl FreeBSD device event reporting and device control interface
device_add_child FreeBSD add a new device as a child of an existing device
filename_to_drivername IRIX determine the device name for the device file
filename_to_devname IRIX determine the device name for the device file
device_add_child_ordered FreeBSD add a new device as a child of an existing device
dev_to_devname IRIX determine the device name for the device
fdes_to_devname IRIX determine the device name for the device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service