MPTSCSIH_DO_CMD(9) Message-based devices MPTSCSIH_DO_CMD(9)NAMEmptscsih_do_cmd - Do internal command.
SYNOPSIS
int mptscsih_do_cmd(MPT_SCSI_HOST * hd, INTERNAL_CMD * io);
ARGUMENTS
hd
MPT_SCSI_HOST pointer
io
INTERNAL_CMD pointer.
DESCRIPTION
Issue the specified internally generated command and do command
specific cleanup. For bus scan / DV only.
NOTES
If command is Inquiry and status is good, initialize a target
structure, save the data
REMARK
Single threaded access only.
RETURN
< 0 if an illegal command or no resources
0 if good
> 0 if command complete but some type of completion error.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 MPTSCSIH_DO_CMD(9)