device_probe_and_attach man page on FreeBSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
FreeBSD logo
[printable version]

DEVICE_PROBE_AND_ATTA... BSD Kernel Developer's ManualDEVICE_PROBE_AND_ATTA...

NAME
     device_probe_and_attach — initialise a device

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

     int
     device_probe_and_attach(device_t dev);

DESCRIPTION
     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
     Zero is returned on success, otherwise an appropriate error is returned.

SEE ALSO
     device(9), driver(9)

AUTHORS
     This manual page was written by Doug Rabson.

BSD				 June 16, 1998				   BSD
[top]

List of man pages available for FreeBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net