xref: /titanic_44/usr/src/man/man9f/ddi_node_name.9f (revision b8afd3a780ce850ff107bb3be330465bf47f84bd)
te
All Rights Reserved Copyright (c) 2006, Sun
Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
ddi_node_name 9F "16 Jan 2006" "SunOS 5.11" "Kernel Functions for Drivers"
NAME
ddi_node_name - return the devinfo node name
SYNOPSIS

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



char *ddi_node_name(dev_info_t *dip);
INTERFACE LEVEL

Solaris DDI specific (Solaris DDI).

PARAMETERS

dip

A pointer the device's dev_info structure.

DESCRIPTION

The ddi_node_name() function returns the device node name contained in the dev_info node pointed to by dip.

RETURN VALUES

The ddi_node_name() function returns the device node name contained in the dev_info structure.

CONTEXT

The ddi_node_name() function can be called from user, interrupt, or kernel context.

SEE ALSO

ddi_binding_name(9F)

Writing Device Drivers