modldrv man page on OpenIndiana

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

modldrv(9S)		  Data Structures for Drivers		   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_driverops.	This member identifies the module as a
			loadable driver.

       drv_linkinfo	Can be	any  string  up	 to  MODMAXNAMELEN  characters
			(including  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 ver‐
			sion information, but can contain other information as
			well.

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

SEE ALSO
       add_drv(1M), dev_ops(9S), modlinkage(9S)

       Writing Device Drivers

SunOS 5.11			  5 Mar 2001			   modldrv(9S)
[top]

List of man pages available for OpenIndiana

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