Merge commit '9276b3991ba20d5a5660887ba81b0bc7bed25a0c'
[unleashed.git] / share / man / man9f / ddi_node_name.9f
blob898569fd27d8d1e49fdce4155e0a6cc0c1437c65
1 '\" te
2 .\"  All Rights Reserved  Copyright (c) 2006, Sun
3 .\" Microsystems, Inc.  All Rights Reserved
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH DDI_NODE_NAME 9F "Jan 16, 2006"
8 .SH NAME
9 ddi_node_name \- return the devinfo node name
10 .SH SYNOPSIS
11 .LP
12 .nf
13 #include <sys/ddi.h>
14 #include <sys/sunddi.h>
18 \fBchar *\fR\fBddi_node_name\fR(\fBdev_info_t *\fR\fIdip\fR);
19 .fi
21 .SH INTERFACE LEVEL
22 .sp
23 .LP
24 Solaris DDI specific (Solaris DDI).
25 .SH PARAMETERS
26 .sp
27 .ne 2
28 .na
29 \fB\fIdip\fR\fR
30 .ad
31 .RS 7n
32 A pointer the device's \fBdev_info\fR structure.
33 .RE
35 .SH DESCRIPTION
36 .sp
37 .LP
38 The \fBddi_node_name()\fR function returns the device node name contained in
39 the \fBdev_info\fR node pointed to by \fIdip\fR.
40 .SH RETURN VALUES
41 .sp
42 .LP
43 The \fBddi_node_name()\fR function returns the device node name contained in
44 the \fBdev_info\fR structure.
45 .SH CONTEXT
46 .sp
47 .LP
48 The \fBddi_node_name()\fR function can be called from user, interrupt, or
49 kernel context.
50 .SH SEE ALSO
51 .sp
52 .LP
53 \fBddi_binding_name\fR(9F)
54 .sp
55 .LP
56 \fIWriting Device Drivers\fR