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

NAME

6       mptscsih_do_cmd - Do internal command.
7

SYNOPSIS

9       int mptscsih_do_cmd(MPT_SCSI_HOST * hd, INTERNAL_CMD * io);
10

ARGUMENTS

12       hd
13           MPT_SCSI_HOST pointer
14
15       io
16           INTERNAL_CMD pointer.
17

DESCRIPTION

19       Issue the specified internally generated command and do command
20       specific cleanup. For bus scan / DV only.
21

NOTES

23       If command is Inquiry and status is good, initialize a target
24       structure, save the data
25

REMARK

27       Single threaded access only.
28

RETURN

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 3.10         June 2019                MPTSCSIH_DO_CMD(9)
Impressum