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

개요

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

modldrv(9s)

modldrv(9S)             Kernel & Driver Data Structures            modldrv(9S)

NAME
       modldrv - linkage structure for loadable drivers

SYNOPSIS
       #include <sys/modctl.h>

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI)

DESCRIPTION
       The  modldrv  structure is used by device drivers to export driver spe‐
       cific information to the kernel.

STRUCTURE MEMBERS
         struct mod_ops    *drv_modops;
         char              *drv_linkinfo;
         struct dev_ops    *drv_dev_ops;


       drv_modops      Must always be initialized to the address  of  mod_dri‐
                       verops. This member identifies the module as a loadable
                       driver.


       drv_linkinfo    Can  be  any string up to MODMAXNAMELEN characters (in‐
                       cluding the terminating NULL character), and is used to
                       describe the module and its  version  number.  This  is
                       usually  the  name of the driver and module version in‐
                       formation, but can contain other information as well.


       drv_dev_ops     Pointer to the driver's dev_ops(9S) structure.


SEE ALSO
       add_drv(8), dev_ops(9S), modlinkage(9S)


       Writing Device Drivers in Oracle Solaris 11.4

Oracle Solaris 11.4               5 Mar 2001                       modldrv(9S)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3