mpt_send_handshake_request — Send MPT request via doorbell handshake method.
int mpt_send_handshake_request
(u8 cb_idx, MPT_ADAPTER * ioc, int reqBytes, u32 * req, int sleepFlag);
Handle of registered MPT protocol driver
Pointer to MPT adapter structure
Size of the request in bytes
Pointer to MPT request frame
Use schedule if CAN_SLEEP else use udelay.
This routine is used exclusively to send MptScsiTaskMgmt requests since they are required to be sent via doorbell handshake.
It is the callers responsibility to byte-swap fields in the request which are greater than 1 byte in size.
Returns 0 for success, non-zero for failure.