Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

modldrv(9s) [osf1 man page]

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 specific 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 version 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.10 5 Mar 2001 modldrv(9S)

Check Out this Related Man Page

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 specific 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 version 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.10 5 Mar 2001 modldrv(9S)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies