#include <sys/ddi.h> #include <sys/sunddi.h> char *ddi_get_name(dev_info_t *dip);
Solaris DDI specific (Solaris DDI).
ddi_get_name() returns the driver binding name. This is the name used to bind a driver to the device. This name is typically derived from the device name property or the device compatible property. The name returned may be a driver alias or the driver name.
ddi_get_name() can be called from user, kernel, or interrupt context.