mptscsih_do_cmd
Prev | Fusion message devices | Next

## Name

mptscsih_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.

Prev | Up | Next
SCPNT_TO_LOOKUP_IDX | Home | mptscsih_synchronize_cache