sis_133_set_piomode(9)
okay so, this is the sis_133_set_piomode(9) page from the Kernel API Manual, and it's literally giving host controller PATA PIO timings. Let's go π
.
πΈ NAME πΈ
sis_133_set_piomode β Initialize host controller PATA PIO timings. That's the whole name vibe, bestie.
β¨ SYNOPSIS β¨
void sis_133_set_piomode (struct ata_port *ap , struct ata_device *adev
);
It's a void function with two struct pointers and zero return-value drama. (ap is a struct ata_port *, and adev is a struct ata_device *.)
π ARGUMENTS π
apβ Port whose timings we are configuring.adevβ Device we are configuring for.
π¦ DESCRIPTION π¦
Okay so this function sets the PIO mode for the device, and it does that in the host controller PCI config space. No cap. It's the one handling PIO set up for the later ATA133 devices β that "later" is lowkey important, iykyk.
π LOCKING π
LOCKING: None (inherited from caller). So yeah, the locking situation is not this function's problem; it's inherited from caller. Don't @ me about locks π .
π SEE ALSO π
Kernel file: ./drivers/ata/pata_sis.c
Also the whole bestie list of (9) pages:
sis_old_port_base(9), sis_port_base(9), sis_133_cable_detect(9), sis_66_cable_detect(9), sis_pre_reset(9), sis_set_fifo(9), sis_old_set_piomode(9), sis_100_set_piomode(9), sis_old_set_dmamode(9), sis_66_set_dmamode(9), sis_100_set_dmamode(9), sis_133_early_set_dmamode(9), sis_133_set_dmamode(9), sis_133_mode_filter(9), sis_init_one(9).
cute sign-off: source/version ./drivers/ata, dated October 2026. That's the sis_133_set_piomode(9) page, 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