Query: ddi_get_parent
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_get_parent(9F) Kernel Functions for Drivers ddi_get_parent(9F)NAMEddi_get_parent - find the parent of a device information structureSYNOPSIS#include <sys/ddi.h> #include <sys/sunddi.h> dev_info_t *ddi_get_parent(dev_info_t *dip);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSdip Pointer to a device information structure.DESCRIPTIONddi_get_parent() returns a pointer to the device information structure which is the parent of the one pointed to by dip.RETURN VALUESddi_get_parent() returns a pointer to a device information structure.CONTEXTddi_get_parent() can be called from user or interrupt context.SEE ALSOWriting Device Drivers SunOS 5.10 5 Oct 1991 ddi_get_parent(9F)