pm8001_init_sas_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pm8001_init_sas_add ✨

okay so bestie, welcome to the pm8001_init_sas_add(9) glow-up πŸ’… this one lives in the Kernel API Manual and it's literally the moment our HBA gets its SAS address, no cap πŸŽ€


🌸 SYNOPSIS 🌸

int pm8001_init_sas_add (struct pm8001_hba_info *pm8001_ha );

like, that's the whole signature, she's cute, she's int, she takes one pointer, periodt ✨


🫢 ARGUMENTS 🫢

  • pm8001_ha β€” our ha struct πŸ’– that's literally it, that's the whole argument, she's the main character here πŸ‘‘

πŸ’« DESCRIPTION πŸ’«

so rn what we're doing is just setting a fixed SAS address onto our HBA 😭 that's the vibe currently.

for manufacture, it should read from the EEPROM πŸ‘€ β€” like, that's what it's supposed to do, but that is not what's happening in this code rn, bestie.

so yeah. fixed address now, EEPROM reading is the someday-dream 🌈 the code does not do it yet, don't let anyone tell you otherwise πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./drivers/scsi/pm8001/pm8001_init.c is where all the lore lives, and here's the whole friend group 🫢:

like, that's the entire squad, go read all of them, iykyk πŸ’œ


mwah πŸ’‹ this page came from ./drivers/scsi/pm8001, and the date stamp on it is October 2026 β€” consider that my little sign-off, bestie, go forth and initialize those SAS addresses πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from