2 .\" Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH DDI_BINDING_NAME 9F "May 3, 1996"
8 ddi_binding_name, ddi_get_name \- return driver binding name
13 #include <sys/sunddi.h>
17 \fBchar *\fR\fBddi_binding_name\fR(\fBdev_info_t *\fR\fIdip\fR);
22 \fBchar *\fR\fBddi_get_name\fR(\fBdev_info_t *\fR\fIdip\fR);
28 Solaris DDI specific (Solaris DDI).
36 A pointer to the device's \fBdev_info\fR structure.
42 \fBddi_binding_name()\fR and \fBddi_get_name()\fR return the driver binding
43 name. This is the name used to select a driver for the device. This name is
44 typically derived from the device \fBname\fR property or the device
45 \fBcompatible\fR property. The name returned may be a driver alias or the
50 \fBddi_binding_name()\fR and \fBddi_get_name()\fR return the name used to bind
55 \fBddi_binding_name()\fR and \fBddi_get_name()\fR can be called from user,
56 kernel, or interrupt context.
60 \fBddi_node_name\fR(9F)
63 \fIWriting Device Drivers\fR
67 The name returned by \fBddi_binding_name()\fR and \fBddi_get_name()\fR is