Kernel Functions for Drivers ddinoinfo(9F)
NAME
ddinoinfo - stub for getinfo(9E)
SYNOPSIS
#include
#include
int ddinoinfo(devinfot *dip, ddiinfocmdt infocmd, void *arg,
void **result
INTERFACE LEVEL
Solaris DI specific (Solaris DI)
PARAMETERS
devinfot *dip Pointer to devinfo structure.
ddiinfocmdt infocmd Command argument. Valid command
values are: DINFODEVT2DEVINFO
and DINFODEVT2INSTANCE.
void *arg Command-specific argument.
void **result Pointer to where the requested
information is stored.
DESCRIPTION
The ddinoinfo() function always returns DIFAILURE. It is
provided as a convenience routine for drivers not providing
a cbops(9S) or for network drivers only providing DLPI-2
services. Such drivers can use ddinoinfo() in the
devogetinfo entry point (see getinfo(9E)) of the
devops(9S) structure.
RETURN VALUES
The ddinoinfo() function always returns DIFAILURE.
SEE ALSO
getinfo(9E), qassociate(9F), cbops(9S), devops(9S)
SunOS 5.11 Last change: 9 Jul 2002 1
|