piix_set_piomode(9)
π piix_set_piomode(9) β Kernel API Manual π
π NAME π
piix_set_piomode β initialize host controller PATA PIO timings. Thatβs the whole slay: itβs the function that gets those host controller PATA PIO timings initialized. π
β¨ SYNOPSIS β¨
void piix_set_piomode (struct ata_port *ap , struct ata_device *adev );
π«Ά ARGUMENTS π«Ά
apβ Port whose timings we are configuring. The port weβre configuring the timings for, bestie β thatβs the one.adevβ Drive in question. The drive in question, literally the drive weβre talking about. π
πΈ DESCRIPTION πΈ
Set PIO mode for device, in host controller PCI config space. So yes: the device gets its PIO mode set, and the setting happens in the host controller PCI config space. Thatβs the vibe, thatβs the function. π
LOCKING: None (inherited from caller). No locks live in here β it inherits the locking from whoever called it. Not me adding lore, thatβs just the note. π
π¦ SEE ALSO π¦
Kernel file ./drivers/ata/ata_piix.c is the home base, and these are the related besties, in order:
ich_pata_cable_detect(9)piix_pata_prereset(9)do_pata_set_dmamode(9)piix_set_dmamode(9)ich_set_dmamode(9)piix_check_450nx_errata(9)piix_init_one(9)
okay bye bestie, thatβs piix_set_piomode(9) from source ./drivers/ata, dated October 2026 β 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