sci_port_is_wide(9)
π 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.
booltrueβ returned if this is a wide ported port π₯boolfalseβ 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 π:
sci_port_get_properties(9)isci_port_link_down(9)isci_port_hard_reset_complete(9)sci_port_is_phy_mask_valid(9)sci_port_construct_dummy_rnc(9)sci_port_general_link_up_handler(9)sci_port_link_detected(9)sci_port_post_dummy_request(9)sci_port_abort_dummy_request(9)sci_port_resume_port_task_scheduler(9)sci_port_ready_substate_operational_exit(9)sci_port_add_phy(9)sci_port_remove_phy(9)
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
- 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