'\" te .\" Copyright (c) 2002, 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] .TH DDI_NO_INFO 9F "Jul 9, 2002" .SH NAME ddi_no_info \- stub for getinfo(9E) .SH SYNOPSIS .LP .nf #include #include \fBint\fR \fBddi_no_info\fR(\fBdev_info_t *\fR\fIdip\fR, \fBddi_info_cmd_t\fR \fIinfocmd\fR, \fBvoid *\fR\fIarg\fR, \fBvoid **\fR\fIresult\fR .fi .SH INTERFACE LEVEL .sp .LP Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .ne 2 .na \fBdev_info_t *\fIdip\fR\fR .ad .RS 26n Pointer to \fBdev_info\fR structure. .RE .sp .ne 2 .na \fBddi_info_cmd_t \fIinfocmd\fR\fR .ad .RS 26n Command argument. Valid command values are: \fBDDI_INFO_DEVT2DEVINFO\fR and \fBDDI_INFO_DEVT2INSTANCE\fR. .RE .sp .ne 2 .na \fBvoid *\fIarg\fR\fR .ad .RS 26n Command-specific argument. .RE .sp .ne 2 .na \fBvoid **\fIresult\fR\fR .ad .RS 26n Pointer to where the requested information is stored. .RE .SH DESCRIPTION .sp .LP The \fBddi_no_info()\fR function always returns \fBDDI_FAILURE\fR. It is provided as a convenience routine for drivers not providing a \fBcb_ops\fR(9S) or for network drivers only providing DLPI-2 services. Such drivers can use \fBddi_no_info()\fR in the \fBdevo_getinfo\fR entry point (see \fBgetinfo\fR(9E)) of the \fBdev_ops\fR(9S) structure. .SH RETURN VALUES .sp .LP The \fBddi_no_info()\fR function always returns \fBDDI_FAILURE\fR. .SH SEE ALSO .sp .LP \fBgetinfo\fR(9E), \fBqassociate\fR(9F), \fBcb_ops\fR(9S), \fBdev_ops\fR(9S)