Top Kernel Extension Entry Point - IBM Advanced SerialRAID Adapters SA33-3285-02 User Manual

Advanced serialraid adapters
Table of Contents

Advertisement

DD_CONC_TEST
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
v The
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
v
v
The conc_cmd pointer points at a conc_cmd structure. These arguments must be of
the same type that is specified by 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
appropriate SSA disk drive.
DD_CONC_SEND_REFRESH
DD_CONC_LOCK
288
User's Guide and Maintenance Information
Issues a test disk command to verify that the SSA disk drive is still accessible
to this using system.
field in the conc_cmd structure is not valid.
field of the conc_cmd structure is not one of the four valid values that
field
field
field
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
,
The DD_CONC_SEND_LOCK device driver entry point has completed. The
function pointer field of the
field specifies the
, and
fields are 0.

Advertisement

Table of Contents
loading

Table of Contents