Compex Systems SA33-3285-02 Network Card User Manual


 
DD_CONC_TEST
Issues a test disk command to verify that the SSA disk drive is still accessible
to this using system.
The concurrent mode entry point returns a value of EINVAL if any of the following is
true:
v The top kernel extension did not perform a DD_CONC_REGISTER operation.
v The conc_cmd pointer is null.
v The devno field in the conc_cmd structure is not valid.
v The cmd_op field of the conc_cmd structure is not one of the four valid values that
were previously listed.
If the concurrent mode entry point accepts the conc_cmd structure, the entry point
returns a value of 0. If the SSA disk device driver does not have resources to issue the
command, the driver queues the command until resources are available. The
concurrent commands that are queued in the SSA disk device driver are issued before
any read or write operations that are queued by the strategy entry point of the device
driver.
The completion status of the concurrent mode commands are returned to the
concurrent mode interrupt handler entry point of the top kernel extension.
Top Kernel Extension Entry Point
The top kernel extension must have a concurrent mode command interrupt handler
entry point, which is called directly from the interrupt handler of the SSA disk device.
This entry point function can take four arguments:
v conc_cmd pointer
v cmd_op field
v message_code field
v devno field
The conc_cmd pointer points at a conc_cmd structure. These arguments must be of
the same type that is specified by the conc_intr_addr function pointer field of the
dd_conc_register structure.
The following valid concurrent mode commands are defined in the
/usr/include/sys/ddcon.h file. For each command, the devno field specifies the
appropriate SSA disk drive.
DD_CONC_SEND_REFRESH
The DD_CONC_SEND_REFRESH device driver entry point has completed.
The error field in the conc_cmd structure contains the return code that is
necessary for the completion of this command. The possible values are
defined in the /usr/include/sys/errno.h file. The conc_cmd pointer argument
to the special interrupt handler entry point of the top kernel extension is
non-null. The cmd_op, message_code, and devno fields are 0.
DD_CONC_LOCK
The DD_CONC_SEND_LOCK device driver entry point has completed. The
288 Users Guide and Maintenance Information