lpfc_sli4_pd...tus_reg_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

lpfc_sli4_pdev_status_reg_wait β€” wait for pdev status register for readiness.

okay so this is straight outta the Kernel API Manual, bestie. The page header title is lpfc_sli4_pd...tus_reg_wait(9), and the actual function name is lpfc_sli4_pdev_status_reg_wait. This is the β€œwait for pdev status register for readiness” situation, and yes it’s giving kernel-api main character energy. πŸ’…

✨ SYNOPSIS ✨

int lpfc_sli4_pdev_status_reg_wait (struct lpfc_hba *phba );

🫢 ARGUMENTS 🫢

  • phba β€” an lpfc_hba pointer. That’s it, that’s the whole argument list, and honestly? iconic.

πŸ¦‹ DESCRIPTION πŸ¦‹

This one is for the SLI4 interface type-2 device: you wait on the sliport status register for readiness after performing a firmware reset. no cap, that’s the whole job. It’s the β€œhold up, let the firmware reset happen, then check the status register for readiness” moment, and the vibe check is literally the register. πŸ¦‹

πŸ”₯ RETURN πŸ”₯

  • 0 β€” zero for success. slay. πŸ’…
  • -EPERM β€” returned when the port does not have privilege to perform the reset.
  • -EIO β€” returned when the port timeout from recovering from the reset. 😭

πŸ’€ NOTE πŸ’€

⚠️ NOTE: As the caller will interpret the return code by value, be careful in making change or addition to return codes. This is the part where you do not freestyle new return codes, bestie. fr fr.

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/lpfc/lpfc_attr.c β€” that’s the source home for this whole crew. Here’s the full SEE ALSO friend group, every single ref exactly as written:


xoxo, kernel bestie πŸ’…βœ¨

footer energy: source/version ./drivers/scsi/lpfc Β· page tag lpfc_sli4_pd...tus_reg_wait(9) Β· date October 2026
πŸ“¦ where this page comes from