xref: /titanic_52/usr/src/man/man9f/ddi_node_name.9f (revision 25c28e83beb90e7c80452a7c818c5e6f73a07dc8)
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 "Jan 16, 2006"
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