[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    ddi_get_name(9F) manual page Table of Contents

Name

ddi_get_name - return driver binding name

Synopsis


#include <sys/ddi.h>
#include <sys/sunddi.h>

char *ddi_get_name(dev_info_t *dip);

Interface Level

Solaris DDI specific (Solaris DDI).

Arguments

dip
A pointer to the device’s dev_info structure.

Description

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.

Return Values

ddi_get_name() returns the name used to bind the device to a driver.

Context

ddi_get_name() can be called from user, kernel, or interrupt context.

See Also

Warnings

The name returned by ddi_get_name(9F) is read-only.


Table of Contents