pm8001_prep_sas_ha_init(9)
π pm8001_prep_sas_ha_init(9) π
okay so bestie, we're in the Kernel API Manual today and this page is literally all about one little function that does the glow-up prep for your SAS host adapter. no cap, it's the "get your room ready before the party" step.
β¨ NAME β¨
pm8001_prep_sas_ha_init β it allocates memory in the general hba struct && inits them. like, both things. the allocating AND the initialising. she's doing the most, honestly. π
πΈ SYNOPSIS πΈ
int pm8001_prep_sas_ha_init (struct Scsi_Host *shost , const struct
pm8001_chip_info *chip_info );
returns an int, takes two args, very demure, very mindful. π
π¦ ARGUMENTS π¦
shostβ the scsi host π«Ά and just so you know, it's been allocated outside already, so don't come for her, she's not the one doing that allocation.chip_infoβ our ha struct β¨ that's it, that's the whole vibe. it's ours.
π SEE ALSO π
bestie the cross-references here are a whole friend group, i'm obsessed. π
Kernel file: ./drivers/scsi/pm8001/pm8001_init.c
and the whole squad:
pm8001_phy_init(9)pm8001_free(9)pm8001_tasklet(9)pm8001_interrupt_handler_msix(9)pm8001_interrupt_handler_intx(9)pm8001_alloc(9)pm8001_ioremap(9)pm8001_pci_alloc(9)pci_go_44(9)pm8001_post_sas_ha_init(9)pm8001_init_sas_add(9)pm8001_get_internal_phy_settings(9)pm8001_get_external_phy_settings(9)pm8001_get_phy_mask(9)pm8001_set_phy_settings_ven_117c_12G(9)pm8001_configure_phy_settings(9)pm8001_setup_msix(9)pm8001_request_irq(9)pm8001_pci_probe(9)pm8001_init_ccb_tag(9)pm8001_pci_suspend(9)pm8001_pci_resume(9)pm8001_init(9)
like, that's twenty-two entries, i counted, we do not skip ANY of them. periodt. π₯
okay and before you go β this iconic little page lives at ./drivers/scsi/pm8001, it's dated October 2026, and it's serving Kernel API Manual realness. ily, go read your kernel source, mwah π§π
π¦ 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