1. NAME

mptscsih_do_cmd - Do internal command.

2. SYNOPSIS

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

3. ARGUMENTS

hd
    MPT_SCSI_HOST pointer

io
    INTERNAL_CMD pointer.

4. DESCRIPTION

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

5. NOTES

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

6. REMARK

Single threaded access only.

7. RETURN

< 0 if an illegal command or no resources

0 if good

> 0 if command complete but some type of completion error.

8. COPYRIGHT