sci_port_co...lidate_ports(9)
πΈ NAME πΈ
sci_port_configuration_agent_validate_ports β okay so bestie, the manpage literally gives you no one-liner after that dash. Nothing. Empty. She's mysterious like that π
(the title's the whole vibe: it's the port-configuration-agent port validator, iykyk)
Oh and real quick β this whole thing lives in the Kernel API Manual, so jot that down π
β¨ SYNOPSIS β¨
enum sci_status sci_port_configuration_agent_validate_ports (struct
isci_host *ihost , struct sci_port_configuration_agent *port_agent );
Not me typing this out character for character, spaces included, because we do not fumble the signature π
π«Ά ARGUMENTS π«Ά
ihostβ the controller object that contains the port agent. Like, the whole host, the main character πport_agentβ the port configuration agent for the controller. This is the girl we're actually vibe-checking β¨
π DESCRIPTION π
So this routine will validate the port configuration is correct for the SCU hardware. That's the whole job. No cap. π₯
And the SCU hardware allows for port configurations as follows:
LP0 -> (PE0), (PE0, PE1), (PE0, PE1, PE2, PE3)LP1 -> (PE1)LP2 -> (PE2), (PE2, PE3)LP3 -> (PE3)
Like, LP0 is out here with options (she contains multitudes, honestly iconic), and LP1, LP2, LP3 are much more chill about it π¦
Then there's the return situation, enum sci_status, and there's two moods:
SCI_SUCCESSβ the port configuration is valid for this port configuration agent. Slay! πSCI_FAILURE_UNSUPPORTED_PORT_CONFIGURATIONβ the port configuration is not valid for this port configuration agent. Not slay π But at least she tells you.
fr fr, run the check before you commit to a config β this function is literally the vibe check for your ports, and ignoring the failure return is giving chaos energy π
π SEE ALSO π
Kernel file ./drivers/scsi/isci/port_config.c β that's the source file, go read her π§
sci_sas_address_compare(9)sci_port_configuration_agent_find_port(9)sci_mpc_agent_link_down(9)sci_apc_agent_link_up(9)sci_apc_agent_link_down(9)
Alright bestie, that's the whole page π She ships from ./drivers/scsi/isci, dated October 2026, and she's filed under sci_port_co...lidate_ports(9) (yes the header truncates her name, it's giving quirky but we love her anyway) πβ¨
π¦ 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