1MPTSCSIH_DO_CMD(9) Message-based devices MPTSCSIH_DO_CMD(9)
2
3
4
6 mptscsih_do_cmd - Do internal command.
7
9 int mptscsih_do_cmd(MPT_SCSI_HOST * hd, INTERNAL_CMD * io);
10
12 hd
13 MPT_SCSI_HOST pointer
14
15 io
16 INTERNAL_CMD pointer.
17
19 Issue the specified internally generated command and do command
20 specific cleanup. For bus scan / DV only.
21
23 If command is Inquiry and status is good, initialize a target
24 structure, save the data
25
27 Single threaded access only.
28
30 < 0 if an illegal command or no resources
31
32 0 if good
33
34 > 0 if command complete but some type of completion error.
35
37Kernel Hackers Manual 2.6. November 2011 MPTSCSIH_DO_CMD(9)