DDI_ROOT_NODE(9F) Kernel Functions for Drivers DDI_ROOT_NODE(9F)

ddi_root_node - get the root of the dev_info tree

#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
dev_info_t  *ddi_root_node(void);

illumos DDI specific (illumos DDI).

The ddi_root_node() function returns a pointer to the root node of the device information tree.

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

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

Writing Device Drivers
January 16, 2006 OmniOS