The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

DEVICE_ATTACH (9)
  • >> DEVICE_ATTACH (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    
    
    DEVICE_ATTACH
    
     - attach a device
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/bus.h>
    int DEVICE_ATTACH (device_t dev);
     

    DESCRIPTION

    Attach a device to the system after the DEVICE_PROBE ();
    method has been called and has indicated that the device exists. The DEVICE_ATTACH ();
    method should initialize the hardware and allocate other system resources (such as devfs(5) entries).

    Devices which implement busses should use this method to probe for the existence of devices attached to the bus and add them as children. If this is combined with the use of bus_generic_attach9 the child devices will be automatically probed and attached.  

    RETURN VALUES

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

    SEE ALSO

    devfs(5), device(9), DEVICE_DETACH9, DEVICE_IDENTIFY9, DEVICE_PROBE9, DEVICE_SHUTDOWN9  

    AUTHORS

    This manual page was written by An Doug Rabson Aq [email protected] .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру