device_probe_and_attach(9) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

device_probe_and_attach(9)

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
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3