sci_port_get_properties(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sci_port_get_properties(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the sci_port_get_properties(9) page 🫢 this one lives in the Kernel API Manual and honestly? she's a little fetch quest that actually gives you the goods ✨


🌸 NAME 🌸

sci_port_get_properties β€” this method simply returns the properties regarding the port, such as: physical index, protocols, sas address, etc. πŸ‘‘ like, the whole lil' identity card of a port, no cap.


✨ SYNOPSIS ✨

enum sci_status sci_port_get_properties (struct isci_port *iport ,
       struct sci_port_properties *prop );

πŸŽ€ ARGUMENTS πŸŽ€

  • iport β€” this parameter specifies the port for which to retrieve the physical index. it's giving "who are we even talking about" energy πŸ’…
  • prop β€” This parameter specifies the properties structure into which to copy the requested information. this is the cute lil' container the tea gets poured into πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

Indicate if the user specified a valid port. πŸ’–

Then the statuses do the talking:

  • <green>SCI_SUCCESS</green> β€” This value is returned if the specified port was valid. slay, we ate, everything worked ✨
  • <red>SCI_FAILURE_INVALID_PORT</red> β€” This value is returned if the specified port is not valid.
⚠️ important bestie: When this value is returned, no data is copied to the properties output parameter. like, prop stays exactly as it was β€” don't be out here reading it expecting fresh info, ok? πŸ˜­πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/isci/port.c β€” and the whole friend group πŸ’œ:


and that's the page, bestie πŸ§šπŸ’« this iconic lil' entry ships from ./drivers/scsi/isci, dated October 2026, and she answers to sci_port_get_properties(9) β€” go get those properties, you got this πŸ’…πŸ”₯

πŸ“¦ where this page comes from