Query: ddi_driver_name
OS: sunos
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_driver_name(9F) Kernel Functions for Drivers ddi_driver_name(9F)NAMEddi_driver_name - return normalized driver nameSYNOPSIS#include <sys/ddi.h> #include <sys/sunddi.h> const char *ddi_driver_name(dev_info_t *devi);INTERFACE LEVELSolaris DDI specific (Solaris DDI).PARAMETERSdip A pointer to the device's dev_info structure.DESCRIPTIONddi_driver_name() returns the normalized driver name. This name is typically derived from the device name property or the device compatible property. If this name is a driver alias, the corresponding driver name is returned.RETURN VALUESddi_driver_name() returns the actual name of the driver bound to a device.CONTEXTddi_driver_name() can be called from kernel, or interrupt context.SEE ALSOddi_get_name(9F) Writing Device DriversWARNINGSThe name returned by ddi_driver_name() is read-only. SunOS 5.10 2 Dec 1998 ddi_driver_name(9F)