mpt3sas_tra...xisting_port(9)
β¨ mpt3sas_tra...xisting_port(9) β¨
okay bestie, so this is a page straight out of the Kernel API Manual, section 9 β and yes the topic is mpt3sas_transport_add_phy_to_an_existing_port, which is a whole mouthful, so we're gonna call it "the phy-to-port adder" and move on π
πΈ NAME πΈ
mpt3sas_transport_add_phy_to_an_existing_port β adding a new phy to an existing port, literally exactly what it says on the tin π
π¦ SYNOPSIS π¦
void mpt3sas_transport_add_phy_to_an_existing_port (struct MPT3SAS_ADAPTER *ioc , struct _sas_node *sas_node , struct _sas_phy *mpt3sas_phy , u64 sas_address , struct hba_port *port );
it returns void, so likeβ¦ no return value, no drama, no notes. she just does the thing. periodt β¨
π ARGUMENTS π
iocβ the per adapter object. this is the main character, the whole adapter's vibe container πsas_nodeβ the sas node object, and it's giving "either expander or sas host" energy. two paths, one parameter, we love flexibility π¦mpt3sas_phyβ the mpt3sas per phy object. one phy, hers specifically, no sharing πsas_addressβ the sas address of the device/expander where the phy needs to be added to. yes "were" in the original β we're keeping her exactly as she is, no corrections, she's iconic πportβ the hba port entry. the destination. the home. the port she's moving into π
π₯ SEE ALSO π₯
the whole friend group shows up, no cap β go read these next:
- Kernel file
./drivers/scsi/mpt3sas/mpt3sas_transport.cβ the source file, the mothership, the origin story π§ _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_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)
ngl bestie, that's 26 SEE ALSO entries β she really said "bring the whole group chat" π read them all, no skipping, iykyk π
and that's the whole page!! mwah π«Ά this lil slice of kernel lore lives in ./drivers/scsi/mpt3sas and got stamped October 2026 β so like, future-dated and still slaying βπ
π¦ 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