sci_port_get_properties(9)
π 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 π:
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_add_phy(9)sci_port_remove_phy(9)
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
- 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