Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ modldrv(9S) — SunOS 5.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

add_drv(1M)

dev_ops(9S)

modlinkage(9S)

modldrv(9S)

NAME

modldrv − linkage structure for loadable drivers

SYNOPSIS

#include <sys/modctl.h>

DESCRIPTION

The modldrv is used with loadable driver to provide driver specific information to the loadable modules system. 

STRUCTURE MEMBERS

struct mod_ops ∗drv_modops;
char ∗drv_linkinfo;
struct dev_ops ∗drv_dev_ops;

drv_modops Is always initialized to mod_driverops.  This identifies the module as a loadable driver. 

drv_linkinfo Can be any string up to MODMAXNAMELEN, and is used to describe the module, for example, embed a version number. 

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

SEE ALSO

add_drv(1M), dev_ops(9S), modlinkage(9S)
SunOS 5.1 Writing Device Drivers

SunOS 5.2  —  Last change: 18 Sep 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026