1MPT_SEND_HANDSHAKE_R(9)      Message-based devices     MPT_SEND_HANDSHAKE_R(9)
2
3
4

NAME

6       mpt_send_handshake_request - Send MPT request via doorbell handshake
7       method.
8

SYNOPSIS

10       int mpt_send_handshake_request(u8 cb_idx, MPT_ADAPTER * ioc,
11                                      int reqBytes, u32 * req, int sleepFlag);
12

ARGUMENTS

14       cb_idx
15           Handle of registered MPT protocol driver
16
17       ioc
18           Pointer to MPT adapter structure
19
20       reqBytes
21           Size of the request in bytes
22
23       req
24           Pointer to MPT request frame
25
26       sleepFlag
27           Use schedule if CAN_SLEEP else use udelay.
28

DESCRIPTION

30       This routine is used exclusively to send MptScsiTaskMgmt requests since
31       they are required to be sent via doorbell handshake.
32

NOTE

34       It is the callers responsibility to byte-swap fields in the request
35       which are greater than 1 byte in size.
36
37       Returns 0 for success, non-zero for failure.
38
40Kernel Hackers Manual 2.6.         June 2019           MPT_SEND_HANDSHAKE_R(9)
Impressum