radisys_set_piomode(9)
π radisys_set_piomode β kernel API manual, but make it make sense β¨
okay bestie, so you found radisys_set_piomode(9) in the Kernel API Manual and you're like "what even is this" β don't worry, I got you, we're gonna get through this together π«Ά
πΈ NAME πΈ
radisys_set_piomode β literally the function that initializes host controller PATA PIO timings π« no cap, that's the whole vibe
β¨ SYNOPSIS β¨
void radisys_set_piomode (struct ata_port *ap , struct ata_device *adev );
it returns void, so likeβ¦ nothing comes back. it just does things. main character energy honestly π
π ARGUMENTS π
apβ an ATA port. that's it, that's the description, she's a simple girlie π¦adevβ the device whose timings we're configuring. yes queen, we're tuning her specifically π
π DESCRIPTION π
so what it actually does: sets the PIO mode for the device, inside the host controller's PCI config space. periodt. π₯
LOCKING: None (inherited from caller). not me being casual about concurrency π it literally says none β the locking comes from whoever called you, so don't go adding your own, iykyk π
π SEE ALSO π
peep the kernel file ./drivers/ata/pata_radisys.c and also these iconic siblings:
they're all in the same friend group, go say hi π§
and that's the page!! π source situation: ./drivers/ata, dated October 2026, and the page itself is radisys_set_piomode(9) β slay, you're officially educated, go touch some kernel code bestie ππ
π¦ 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