xref: /titanic_51/usr/src/man/man9s/modlmisc.9s (revision d15978eab6c23a98f0a5474466d5fe9b1be3ca9b)
te
Copyright (c) 2007 Sun Microsystems, Inc., All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
modlmisc 9S "6 Nov 2007" "SunOS 5.11" "Data Structures for Drivers"
NAME
modlmisc - linkage structure for loadable miscellaneous modules
SYNOPSIS

#include <sys/modctl.h>
INTERFACE LEVEL

Solaris DDI specific (Solaris DDI).

DESCRIPTION

The modlmisc structure is used by miscellaneous modules to export module specific information to the kernel.

STRUCTURE MEMBERS
struct mod_ops *misc_modops; 
char *misc_linkinfo; 

misc_modops

Must always be initialized to the address of mod_miscops. This member identifies the module as a loadable miscellaneous module.

misc_linkinfo

Can be any string up to MODMAXNAMELEN characters (including the terminating NULL characters), and is used to describe the module, but can also contain other information (such as a version number).

SEE ALSO

modload(1M), modlinkage(9S)