Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ddi_get_name(9F) — SunOS 5.5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ddi_get_name(9F)

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

Writing Device Drivers

WARNINGS

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

SunOS 5.5.1  —  Last change: 12 Oct 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026