Compex Systems SA33-3285-02 Manual De Usuario

Descargar
Página de 531
IOCINFO (Device Information) SSA Adapter Device Driver ioctl Operation
Purpose
To return a structure that is defined in the /usr/include/sys/devinfo.h file.
Description
The IOCINFO ioctl operation returns a structure that is defined in the
/usr/include/sys/devinfo.h header file. The caller supplies the address to an area that
is of the type
struct devinfo
. This area is in the arg parameter to the IOCINFO
operation. The
device-type
field for this component is DD_BUS; the
subtype
is
DS_SDA.
The IOCINFO operation is defined for all device drivers that use the ioctl subroutine, as
follows:
The operation returns a devinfo structure. The caller supplies the address of this
structure in the argument to the IOCINFO operation. The device type in this structure is
DD_BUS, and the subtype is DS_SDA. The
flags
field is set to DF_FIXED.
Files
/dev/ssa0, /dev/ssa1,..., /dev/ssan
Chapter 13. Using the Programming Interface
261