sci_port_add_phy(9)
π sci_port_add_phy(9) β like, the Kernel API Manual, bestie
okay so welcome to the sci_port_add_phy(9) page, part of the Kernel API Manual β¨ this is the little corner of the kernel that lives in ./drivers/scsi/isci and it's literally here to explain how you glue a PHY onto a port. no drama, just vibes and structs π«Ά
β¨ NAME β¨
sci_port_add_phy β the function name, iconic, no notes. (the original page left this one blank so we're just gonna let it breathe π)
πΈ SYNOPSIS πΈ
enum sci_status sci_port_add_phy (struct isci_port *iport , struct
isci_phy *iphy );
that's the whole signature, copy it exactly, don't @ me π
π¦ ARGUMENTS π¦
iportβ this one is the port, aka where the phy is gonna live. it specifies the port in which the phy will be added, fr fr.iphyβ this is the phy itself, the little guy that's about to get added to the port. this parameter is the phy which is to be added to the port π§
π DESCRIPTION π
ok so real talk: this method will add a PHY to the selected port. that's the whole job. she's focused π
and the way it tells you how it went? it returns an enum sci_status. so:
SCI_SUCCESSβ slay!! the phy has been added to the port π- any other status β not slay π that's a failure to add the phy to the port. no partial credit, no consolation prize, just failure.
heads up bestie: the original page is super clear that only SCI_SUCCESS means it worked. anything else = the add did not happen. check your status, always π
π₯ SEE ALSO π₯
- Kernel file
./drivers/scsi/isci/port.c 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_is_wide(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_remove_phy(9)
like the whole friend group of port functions, go read them all, iykyk π
and that's the page!! π brought to you by ./drivers/scsi/isci, dated October 2026, and titled sci_port_add_phy(9) β mwah, go add some phys, bestie π
β¨π¦
π¦ 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