mptscsih_do_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” an MPT_SCSI_HOST pointer. It’s giving β€œhost struct bestie” energy.
  • io β€” an INTERNAL_CMD pointer. 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:

  • 0 if good πŸŽ€
  • > 0 if 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 πŸ”₯

  • < 0 if an illegal command or no resources 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./drivers/message/fusion/mptscsih.c. The whole squad is here:


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