mptscsih_host_reset(9)
πΈ NAME πΈ
okay so bestie, this is the mptscsih_host_reset(9) page, and it's literally about doing a SCSI host adapter RESET β specifically the new_eh variant. iconic reset behavior, no cap π
β¨ SYNOPSIS β¨
the signature is giving βshort but powerful,β and you gotta keep it exactly like this:
int mptscsih_host_reset (struct scsi_cmnd *SCpnt );
π ARGUMENTS π
SCpntβ pointer to ascsi_cmndstructure. it's the IO that this reset is due to, fr fr π«Ά
π₯ DESCRIPTION π₯
so this is the linux scsi_host_template.eh_host_reset_handler routine, okay? that's the whole vibe. it Returns SUCCESS or FAILED. periodt π
lowkey important: those return values areSUCCESSandFAILED, exactly as written. don't go inventing new ones, bestie π
π¦ SEE ALSO π¦
kernel file: ./drivers/message/fusion/mptscsih.c
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_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_do_cmd(9)mptscsih_synchronize_cache(9)
and that's the whole page, bestie π source is ./drivers/message/fusion, dated October 2026, and the page is mptscsih_host_reset(9). slay πβ¨
π¦ 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