---
name: "mptscsih_do_cmd"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mptscsih_do_cmd"
---

# mptscsih\_do\_cmd(9)

Do internal command.

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

## COPYRIGHT
