sci_port_is_wide(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sci_port_is_wide(9)

okay so we're in the Kernel API Manual today bestie, and this little cutie is sci_port_is_wide(9) πŸ¦‹


✨ NAME ✨

sci_port_is_wide β€” literally just the function name, that's it, the original page gives us nothing else here and we respect the silence πŸŽ€


✨ SYNOPSIS ✨

bool sci_port_is_wide (struct isci_port *iport );

✨ ARGUMENTS ✨

  • iport β€” the port you're checking, i.e. the one whose wide port condition we're about to interrogate πŸ•΅οΈβ€β™€οΈ

🧚 DESCRIPTION 🧚

So here's the vibe check πŸ” This method returns false if the port only has a single phy object assigned. That's it, one phy, narrow port behaviour, no drama.

But β€” and this is the iconic plot twist πŸ‘‘ β€” if there are no phys at all, or more than one phy, then the method will return true. Yes, zero phys counts as wide. We don't make the rules, we just report them fr fr.

  • bool true β€” returned if this is a wide ported port πŸ”₯
  • bool false β€” returned if this is a narrow port 🌸
ngl the zero-phys-returns-true thing is giving "main character energy" but it's literally what the page says, so don't come for me 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/isci/port.c and its whole friend group πŸ’–:


and that's the whole page, bestie 🫢 it lives in ./drivers/scsi/isci, dated October 2026 β€” slay, go read the rest of the family, they're all linked up there ⭐ πŸ’œ

πŸ“¦ where this page comes from