_transport_phy_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ _transport_phy_reset(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– you're literally about to read the page for _transport_phy_reset(9), and honestly it's giving "short and mysterious." We love a lowkey icon. πŸŽ€


🌸 NAME 🌸

_transport_phy_reset β€”

no cap, the original page leaves the description completely blank after that dash 😭 like the author said "the name speaks for itself" and clocked out. So we're just gonna sit here together in the silence. 🫢


✨ SYNOPSIS ✨

int _transport_phy_reset (struct sas_phy *phy , int hard_reset );

that's it. that's the whole function signature. it takes two things and gives you back an int, and we're gonna talk about all of those things right now πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phy β€” the sas phy object πŸ’… this is the thing you're handing over. it's a struct sas_phy *, it's the main character, it's the whole reason we're here.
  • hard_reset β€” okay so bestie, the original page does not tell us what this one does. it's just sitting there. empty. an int with no description, a vibe with no lore πŸ™ˆ not me refreshing the manpage hoping more text appears. it doesn't. we move.

πŸ”₯ RETURN πŸ”₯

  • 0 β€” success, we ate, everything's slaying βœ…
  • non-zero β€” failure, it's giving struggle 😭
fr fr: if you get anything other than 0 back, that's your signal that it did not work. don't ignore it, babe.

🌈 SEE ALSO 🌈

first up, the source of truth β€” the kernel file:

./drivers/scsi/mpt3sas/mpt3sas_transport.c

and then the whole friend group, in the order the page lists them 🫢:

like, that's an entire group chat of transport functions and _transport_phy_reset is one of them. iykyk πŸ’€


and that's the whole page!! 🧚 this lil beauty lives in ./drivers/scsi/mpt3sas and it's dated October 2026 ⭐ so go forth, reset that phy, and remember β€” 0 is success and everything else is a cry for help πŸ’œ πŸŽ€

πŸ“¦ where this page comes from