DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

do_devinfo(D3)


do_devinfo -- invoke another driver's devinfo(D2) entry point routine

Synopsis

   #include <sys/types.h>
   #include <sys/ddi.h>
   

int do_devinfo(chan_handle_t chan_handle, di_parm_t parm, void *valp);

Description

do_devinfo( ) invokes another driver's devinfo(D2) entry point for which this driver has obtained a channel handle with the drv_open(D3) function. The other driver may actually be the same driver.

Arguments


chan_handle
Channel handle returned by the other driver's drv_open(D3) call.

parm
Passed as an argument to the other driver's devinfo(D2) entry point

valp
Passed as an argument to the other driver's devinfo(D2) entry point

Return values

Usage

Context and synchronization

User or blockable context.

Hardware applicability

All

Version applicability

ddi: 8, 8mp

References

devinfo(D2), drv_attach(D3), drv_detach(D3), drv_open(D3)

``Layered device drivers'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005