mptscsih_do_cmd(9)
π mptscsih_do_cmd(9) β yes bestie, itβs a Kernel API Manual page π«Ά
π NAME π
mptscsih_do_cmd β do internal command. Thatβs literally the name, no cap.
β¨ SYNOPSIS β¨
int mptscsih_do_cmd (MPT_SCSI_HOST *hd , INTERNAL_CMD *io );
π ARGUMENTS π
hdβ anMPT_SCSI_HOSTpointer. Itβs giving βhost struct bestieβ energy.ioβ anINTERNAL_CMDpointer. The command payload has entered the chat.
πΈ DESCRIPTION πΈ
okay so mptscsih_do_cmd issues the specified internally generated command and does command specific cleanup. Itβs for bus scan / DV only, periodt.
The return vibes in this section are:
0if good π> 0if command complete but some type of completion error π
π¦ NOTES π¦
If the command is Inquiry and status is good, it initializes a target structure and saves the data. Iconic behavior, honestly.
Remark: Single threaded access only. Bestie, do not bring friends to this function. π
π₯ RETURN π₯
< 0if an illegal command or no resources π
π SEE ALSO π
Kernel file: ./drivers/message/fusion/mptscsih.c. The whole squad is here:
mptscsih_info_scsiio(9)mptscsih_info(9)mptscsih_qcmd(9)mptscsih_IssueTaskMgmt(9)mptscsih_abort(9)mptscsih_dev_reset(9)mptscsih_bus_reset(9)mptscsih_host_reset(9)mptscsih_taskmgmt_complete(9)mptscsih_get_scsi_lookup(9)mptscsih_getclear_scsi_lookup(9)mptscsih_set_scsi_lookup(9)SCPNT_TO_LOOKUP_IDX(9)mptscsih_get_completion_code(9)mptscsih_synchronize_cache(9)
okay bye bestie π this page came from ./drivers/message/fusion, dated October 2026, and yes the manual name is still mptscsih_do_cmd(9) π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms