Do internal command.
int mptscsih_do_cmd(MPT_SCSI_HOST * hd, INTERNAL_CMD * io);
hd
MPT_SCSI_HOST pointer
io
INTERNAL_CMD pointer.
Issue the specified internally generated command and do command specific cleanup. For bus scan / DV only.
If command is Inquiry and status is good, initialize a target structure, save the data
Single threaded access only.
< 0 if an illegal command or no resources
0 if good
> 0 if command complete but some type of completion error.