Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

modldrv(9s) [opensolaris 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.11 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

4 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

FreeBSD nVidia Beta Drivers released!

http://www.nvidia.com/content/drivers/drivers.asp I know what I am doing this weekend! I live life on the edge, baby! (0 Replies)
Discussion started by: auswipe
0 Replies

2. UNIX for Dummies Questions & Answers

drivers unix 5.01 is compatible with drivers epson fx-2190

Please, I'm From Argentina, And I Need To Know If The Drivers Of Program Unix, Version 5.01 Is Compatible Whit Drivers Of The Printer Epson Fx-2190 Thanks, And I Hope Yuor Answer. (0 Replies)
Discussion started by: juan alberghina
0 Replies

3. Solaris

Is there an automatic method for adding drivers to Solaris

Is there an automatic method for adding drivers to Solaris 10? I know there is add_drv, (0 Replies)
Discussion started by: trinityforce
0 Replies

4. Solaris

Finding the NIC driver version on Solaris 11

In Solaris 10 it was easy, a simple grep through modinfo output and you'd have the version of any loaded module, including your NIC drivers. In my career I've seen many people relying on this information in their scripts. Now I'm on Solaris 11, and where have the version numbers gone? The... (0 Replies)
Discussion started by: cambridge
0 Replies