mpt3sas_tran...add_host_phy(9)
π mpt3sas_tran...add_host_phy(9)
okay so real talk β this is a page from the Kernel API Manual, and the star of the show is mpt3sas_transport_add_host_phy. she's a kernel function in the mpt3sas driver, and bestie, her whole job is telling the transport layer about a sas_host phy. like, "hey transport, meet phy π«Ά". that's the vibe.
β¨ NAME β¨
mpt3sas_transport_add_host_phy β report sas_host phy to transport π
literally what it says on the tin: this function reports a sas_host phy to the transport layer. no cap.
πΈ SYNOPSIS πΈ
int mpt3sas_transport_add_host_phy (struct MPT3SAS_ADAPTER *ioc , struct
_sas_phy *mpt3sas_phy , Mpi2SasPhyPage0_t phy_pg0 , struct device
*parent_dev );
so she takes four things and returns an int. that's it. that's the whole signature. copy it exactly, don't get creative with it π
π ARGUMENTS π
iocβ the per adapter object. like, this is your adapter. main character energy for real πmpt3sas_phyβ the mpt3sas per phy object. yes, one of these per phy. she's the phy's own little object πphy_pg0β sas phy page 0. the page-0 data, bestie.Mpi2SasPhyPage0_texactly, don't @ me.parent_devβ the parent device class object. every phy needs a parent, we love a family dynamic π«Ά
β RETURN β
0 for success, non-zero for failure. that's the whole rule. zero = slay, non-zero = not slay π
π SEE ALSO π
bestie there are SO many siblings, buckle up. they all live in the kernel file ./drivers/scsi/mpt3sas/mpt3sas_transport.c β iconic address, honestly:
_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)_transport_add_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_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)
that's the whole group chat, fr fr π
and that's the page!! sourced from ./drivers/scsi/mpt3sas, dated October 2026, filed under mpt3sas_tran...add_host_phy(9). go report those phys bestie, 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