_transport_add_phy(9)
π _transport_add_phy(9) π
ok so bestie, welcome to the Kernel API Manual β this one's _transport_add_phy(9) and it's literally the little helper that does the adding-a-single-phy-to-a-port thing. no cap, that's the whole vibe. β¨
It lives in ./drivers/scsi/mpt3sas/mpt3sas_transport.c, in case you were wondering where to send the fan mail. π
πΈ NAME πΈ
_transport_add_phy β a helper function for adding a single phy to a port π¦
like, that's it. that's the job. one phy, one port, slay.
β¨ SYNOPSIS β¨
void _transport_add_phy (struct MPT3SAS_ADAPTER *ioc , struct _sas_port
*mpt3sas_port , struct _sas_phy *mpt3sas_phy );
returns void btw, so don't go looking for a return value, she gives you nothing back and that's iconic of her π
π«Ά ARGUMENTS π«Ά
iocβ the per adapter object π this is your adapter bestie, the whole squad's home basempt3sas_portβ the mpt3sas per port object π the port in question, the destination, the main charactermpt3sas_phyβ the mpt3sas per phy object β the actual phy being added, the guest of honor
π SEE ALSO π
ok this list is LONG and honestly lowkey iconic, so buckle up bestie, here's the whole friend group:
- the kernel file
./drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_port_id_by_sas_phy(9)_transport_sas_node_find_by_sas_address(9)_transport_get_port_id_by_rphy(9)_transport_convert_phy_link_rate(9)_transport_set_identify(9)mpt3sas_transport_done(9)_transport_expander_report_manufacture(9)_transport_delete_port(9)_transport_delete_phy(9)mpt3sas_transport_add_phy_to_an_existing_port(9)mpt3sas_transport_del_phy_from_an_existing_port(9)_transport_sanity_check(9)mpt3sas_transport_port_add(9)mpt3sas_transport_port_remove(9)mpt3sas_transport_add_host_phy(9)mpt3sas_transport_add_expander_phy(9)mpt3sas_transport_update_links(9)_transport_get_expander_phy_error_log(9)_transport_get_linkerrors(9)_transport_get_enclosure_identifier(9)_transport_get_bay_identifier(9)_transport_expander_phy_control(9)_transport_phy_reset(9)_transport_phy_enable(9)_transport_phy_speed(9)_transport_smp_handler(9)
fr fr that's the whole squad, go read them too, they're all eating π₯
real talk: every one of those references above is exactly as written, so copy-paste responsibly, bestie π
and that's the page! π§ this gem comes to you from ./drivers/scsi/mpt3sas, dated October 2026 β mark your calendars, it's giving vintage-future energy π byeee π
π¦ 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