ddi_get_parent - find the parent of a device information structure
#include <sys/ddi.h> #include <sys/sunddi.h> dev_info_t *ddi_get_parent(dev_info_t *dip);
Solaris DDI specific (Solaris DDI).
dip
The ddi_get_parent() function returns a pointer to the device information structure which is the parent of the one pointed to by dip.
The ddi_get_parent() function returns a pointer to a device information structure.
The ddi_get_parent() function can be called from user, interrupt, or kernel context.
Writing Device Drivers
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |