STRUCT SL_WH_SCSI_TRIGGER_T(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct SL_WH_SCSI_TRIGGER_T(9) πŸ’…

okay bestie, welcome to the Kernel API Manual entry for struct SL_WH_SCSI_TRIGGER_T β€” yes that's a whole mouthful, no I will not be pronouncing it out loud. come sit, this one's actually cute and short πŸŽ€


✨ NAME ✨

struct SL_WH_SCSI_TRIGGER_T β€” the literal definition of a SCSI trigger element. that's it. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

okay so here's the shape of it, copy it exactly, no freestyling:

struct SL_WH_SCSI_TRIGGER_T {
    U8 ASCQ;
    U8 ASC;
    U8 SenseKey;
    U8 Reserved;
 };

four little U8 fields. tiny. iconic. like a friendship bracelet but for kernel hardware events πŸ’–


πŸ‘‘ Members πŸ‘‘

here's the group chat roster, one by one:

  • ASCQ<|place_holder_mm_span_0442|> β€” nope sorry, that's ASCQ πŸ’€ β€” Additional Sense Code Qualifier. it can be a specific value, or 0xFF for wildcard. wildcard means "any of them bestie, we don't care" πŸƒ
  • ASC β€” Additional Sense Code. again, can be specific or 0xFF for wildcard. yes, same energy as ASCQ, no cap ✨
  • SenseKey β€” the SCSI Sense Key. that's it, that's the whole description. she's mysterious, she's lowkey πŸ”₯
  • Reserved β€” literally just reserved. leave her alone, she's resting πŸ™ˆ

🧚 Description 🧚

okay so the whole point of this struct: it defines a sense key β€” single or many variants β€” that should induce a DIAG_TRIGGER driver event if observed. so like, if the driver sees this sense key out in the wild, it goes "OH πŸ‘€" and fires the trigger. main character energy fr fr πŸ’«


🌈 SEE ALSO 🌈

go read these next, i'm obsessed with a good cross-reference chain:

  • Kernel file ./drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h
  • struct SL_WH_EVENT_TRIGGER_T(9)
  • struct SL_WH_EVENT_TRIGGERS_T(9)
  • struct SL_WH_SCSI_TRIGGERS_T(9)
  • struct SL_WH_MPI_TRIGGER_T(9)
  • struct SL_WH_MPI_TRIGGERS_T(9)
  • struct SL_WH_TRIGGERS_EVENT_DATA_T(9)

like a little family of trigger structs, all matching, all slaying πŸ’œ


lowkey reminder: the wildcard value is 0xFF for both ASCQ and ASC β€” don't mix that up bestie, i'm begging 🫢

alright that's the page! sourced from ./drivers/scsi/mpt3sas, dated October 2026, and published under the Kernel API Manual. mwah, go read the SEE ALSOs, ily, bye πŸ˜­πŸ’–

πŸ“¦ where this page comes from