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]
ddi_info_cmd_t infocmd
void *arg
void **result
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]
DDI_NO_INFO 9F "Jul 9, 2002"
NAME
ddi_no_info - stub for getinfo(9E)
SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_no_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result
INTERFACE LEVEL
illumos DDI specific (illumos DDI)
PARAMETERS
dev_info_t *dip
Pointer to dev_info structure.
Command argument. Valid command values are: DDI_INFO_DEVT2DEVINFO and DDI_INFO_DEVT2INSTANCE.
Command-specific argument.
Pointer to where the requested information is stored.
DESCRIPTION
The ddi_no_info() function always returns DDI_FAILURE. It is
provided as a convenience routine for drivers not providing a cb_ops(9S)
or for network drivers only providing DLPI-2 services. Such drivers can use
ddi_no_info() in the devo_getinfo entry point (see
getinfo(9E)) of the dev_ops(9S) structure.
RETURN VALUES
The ddi_no_info() function always returns DDI_FAILURE.
SEE ALSO
getinfo (9E), qassociate (9F), cb_ops (9S), dev_ops (9S)