DD_CONC_TEST
Issues a test disk command to verify that the SSAdisk drive is still accessible
to this using system.
The concurrent mode entry point returns a value of EINVALif any of the following is
true:
vThe top kernel extension did not perform a DD_CONC_REGISTER operation.
vThe conc_cmd pointer is null.
vThe devno field in the conc_cmd structure is not valid.
vThe 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 SSAdisk 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 SSAdisk 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 SSAdisk device.
This entry point function can take four arguments:
vconc_cmd pointer
vcmd_op field
vmessage_code field
vdevno 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 SSAdisk 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