Kernel Functions for Drivers ddigetparent(9F)
NAME
ddigetparent - find the parent of a device information
structure
SYNOPSIS
#include
#include
devinfot *ddigetparent(devinfot *dip);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
dip Pointer to a device information structure.
DESCRIPTION
The ddigetparent() function returns a pointer to the dev-
ice information structure which is the parent of the one
pointed to by dip.
RETURN VALUES
The ddigetparent() function returns a pointer to a device
information structure.
CONTEXT
The ddigetparent() function can be called from user,
interrupt, or kernel context.
SEE ALSO
Writing Device Drivers
SunOS 5.11 Last change: 16 Jan 2006 1
|