_transport_phy_reset(9)
β¨ _transport_phy_reset(9) β¨
okay so bestie, welcome to the Kernel API Manual π you're literally about to read the page for _transport_phy_reset(9), and honestly it's giving "short and mysterious." We love a lowkey icon. π
πΈ NAME πΈ
_transport_phy_reset β
no cap, the original page leaves the description completely blank after that dash π like the author said "the name speaks for itself" and clocked out. So we're just gonna sit here together in the silence. π«Ά
β¨ SYNOPSIS β¨
int _transport_phy_reset (struct sas_phy *phy , int hard_reset );
that's it. that's the whole function signature. it takes two things and gives you back an int, and we're gonna talk about all of those things right now π
π¦ ARGUMENTS π¦
phyβ the sas phy object π this is the thing you're handing over. it's astruct sas_phy *, it's the main character, it's the whole reason we're here.hard_resetβ okay so bestie, the original page does not tell us what this one does. it's just sitting there. empty. anintwith no description, a vibe with no lore π not me refreshing the manpage hoping more text appears. it doesn't. we move.
π₯ RETURN π₯
0β success, we ate, everything's slaying β- non-zero β failure, it's giving struggle π
fr fr: if you get anything other than 0 back, that's your signal that it did not work. don't ignore it, babe.
π SEE ALSO π
first up, the source of truth β the kernel file:
./drivers/scsi/mpt3sas/mpt3sas_transport.c
and then the whole friend group, in the order the page lists them π«Ά:
_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_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_enable(9)_transport_phy_speed(9)_transport_smp_handler(9)
like, that's an entire group chat of transport functions and _transport_phy_reset is one of them. iykyk π
and that's the whole page!! π§ this lil beauty lives in ./drivers/scsi/mpt3sas and it's dated October 2026 β so go forth, reset that phy, and remember β 0 is success and everything else is a cry for help π π
π¦ 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