Query: mpt_send_handshake_request
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MPT_SEND_HANDSHAKE_R(9) Message-based devices MPT_SEND_HANDSHAKE_R(9)NAMEmpt_send_handshake_request - Send MPT request via doorbell handshake method.SYNOPSISint mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER * ioc, int reqBytes, u32 * req, int sleepFlag);ARGUMENTScb_idx Handle of registered MPT protocol driver ioc Pointer to MPT adapter structure reqBytes Size of the request in bytes req Pointer to MPT request frame sleepFlag Use schedule if CAN_SLEEP else use udelay.DESCRIPTIONThis routine is used exclusively to send MptScsiTaskMgmt requests since they are required to be sent via doorbell handshake.NOTEIt 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 MPT_SEND_HANDSHAKE_R(9)