pdc2026x_check_atapi_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pdc2026x_check_atapi_dma β€” a Kernel API Manual moment πŸ’…

okay bestie, so this is pdc2026x_check_atapi_dma(9) from the Kernel API Manual, and honestly? it's giving short king. tiny page, big "no" energy. let's get into it 🫢


✨ NAME ✨

pdc2026x_check_atapi_dma β€” literally just: check whether ATAPI DMA can be supported for this command. that's the whole assignment πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int pdc2026x_check_atapi_dma (struct ata_queued_cmd *qc );

one function, one pointer, zero drama. we love a clean signature ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • qc β€” the metadata associated with the taskfile we're checking. it's the little info bundle that comes with the task, and yes it's a struct ata_queued_cmd *, keep it exactly like that please πŸ’–

🌸 DESCRIPTION 🌸

so the whole personality of this function is "just say no" β€” ATAPI DMA is not supported on older Promise controllers. that's it. that's the function. no cap, it's a hard pass πŸ™ˆ

LOCKING: None (inherited from caller). so like, don't come for this function about locks β€” it got them from whoever called it. main character energy but make it inherited πŸ‘‘


πŸ’€ RETURN πŸ’€

  • returns 0 when ATAPI DMA can be used
  • returns 1 otherwise

(and yeah, "otherwise" is doing a lot of heavy lifting here given the whole description above 😭)


πŸ”₯ SEE ALSO πŸ”₯

all the friends in the group chat, go say hi 🌈


reminder bestie: 1 here does not mean success β€” it means nope, no ATAPI DMA for you. don't get it twisted πŸ’€

and that's the page!! πŸŽ€ straight outta ./drivers/ata, dated October 2026, filed under pdc2026x_check_atapi_dma(9) β€” mwah, stan a tiny kernel doc, bye bestie πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from