1MPT_HANDSHAKE_REQ_RE(9) Message-based devices MPT_HANDSHAKE_REQ_RE(9)
2
3
4
6 mpt_handshake_req_reply_wait - Send MPT request to and receive reply
7 from IOC via doorbell handshake method.
8
10 int mpt_handshake_req_reply_wait(MPT_ADAPTER * ioc, int reqBytes,
11 u32 * req, int replyBytes,
12 u16 * u16reply, int maxwait,
13 int sleepFlag);
14
16 ioc
17 Pointer to MPT_ADAPTER structure
18
19 reqBytes
20 Size of the request in bytes
21
22 req
23 Pointer to MPT request frame
24
25 replyBytes
26 Expected size of the reply in bytes
27
28 u16reply
29 Pointer to area where reply should be written
30
31 maxwait
32 Max wait time for a reply (in seconds)
33
34 sleepFlag
35 Specifies whether the process can sleep
36
38 It is the callers responsibility to byte-swap fields in the request
39 which are greater than 1 byte in size. It is also the callers
40 responsibility to byte-swap response fields which are greater than 1
41 byte in size.
42
43 Returns 0 for success, non-zero for failure.
44
46Kernel Hackers Manual 2.6. June 2019 MPT_HANDSHAKE_REQ_RE(9)