sci_port_add_phy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ”₯

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