sas_attach_transport(9)
β¨ sas_attach_transport(9) β¨
okay so bestie, welcome to the Kernel API Manual β this one's a little function with main character energy, and it lives in sas_attach_transport. let's get into it π
π NAME π
sas_attach_transport β instantiate SAS transport template
like, it makes the transport template a real thing. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
struct scsi_transport_template * sas_attach_transport (struct
sas_function_template *ft );
literally that's it. she returns a struct scsi_transport_template * and she takes exactly one thing. slay.
πΈ ARGUMENTS πΈ
ftβ the SAS transport class function template. that's your function template, bestie. hand it over and she'll do her thing with it π«Ά
π SEE ALSO π
okay this list is long and honestly iconic β it's giving "the whole squad." anyway, the kernel file ./drivers/scsi/scsi_transport_sas.c and then all of these:
sas_remove_children(9)sas_remove_host(9)sas_get_address(9)sas_tlr_supported(9)sas_disable_tlr(9)sas_enable_tlr(9)sas_ata_ncq_prio_supported(9)sas_phy_alloc(9)sas_phy_add(9)sas_phy_free(9)sas_phy_delete(9)scsi_is_sas_phy(9)sas_port_alloc(9)sas_port_alloc_num(9)sas_port_add(9)sas_port_free(9)sas_port_delete(9)scsi_is_sas_port(9)sas_port_get_phy(9)sas_port_add_phy(9)sas_port_delete_phy(9)sas_rphy_initialize(9)sas_end_device_alloc(9)sas_expander_alloc(9)sas_rphy_add(9)sas_rphy_free(9)sas_rphy_delete(9)sas_rphy_unlink(9)sas_rphy_remove(9)scsi_is_sas_rphy(9)sas_release_transport(9)
fr fr that's the entire friend group. go read them too, iykyk ππ
alright that's the whole page, mwah π β this came out of ./drivers/scsi, dated October 2026, and yes the footer is literally part of the lore. periodt. πβπΈ
π¦ 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