Content-type: text/html Man page of ddi_get_parent

ddi_get_parent

Section: Kernel Functions for Drivers (9F)
Updated: 16 Jan 2006
Index Return to Main Contents
 

NAME

ddi_get_parent - find the parent of a device information structure  

SYNOPSIS

#include <sys/ddi.h>
#include <sys/sunddi.h>

dev_info_t *ddi_get_parent(dev_info_t *dip);  

INTERFACE LEVEL

Solaris DDI specific (Solaris DDI).  

PARAMETERS

dip Pointer to a device information structure.

 

DESCRIPTION

The ddi_get_parent() function returns a pointer to the device information structure which is the parent of the one pointed to by dip.  

RETURN VALUES

The ddi_get_parent() function returns a pointer to a device information structure.  

CONTEXT

The ddi_get_parent() function can be called from user, interrupt, or kernel context.  

SEE ALSO

Writing Device Drivers


 

Index

NAME
SYNOPSIS
INTERFACE LEVEL
PARAMETERS
DESCRIPTION
RETURN VALUES
CONTEXT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:39 GMT, October 02, 2010