sis_old_set_piomode(9)
π sis_old_set_piomode(9) β like, the Kernel API Manual entry, bestie π
okay so picture this: you're deep in the kernel, the vibes are immaculate, and somebody gotta set up some PATA PIO timings on a host controller. that somebody is this function. welcome to the group chat β¨
β¨ NAME β¨
sis_old_set_piomode β Initialize host controller PATA PIO timings. that's it, that's the whole job, and it eats every time π
πΈ SYNOPSIS πΈ
void sis_old_set_piomode (struct ata_port *ap , struct ata_device *adev );
literally just two args, no return value, no drama. she's a void girlie π«Ά
π¦ ARGUMENTS π¦
apβ the port whose timings we're configuring, i.e. the main character of this whole operation πadevβ the device we're configuring for. the one we're doing all this for, fr fr π
π DESCRIPTION π
so what she does is: set the PIO mode for the device, in the host controller's PCI config space. yes, you heard me, PCI config space. that's her little home. π β¨
and bestie, she's not picky β this function handles PIO set up for all the chips that are pre ATA100, and the early ATA100 devices too. equal opportunity timing-setter, we love to see it π
LOCKING: None (inherited from caller). no cap β she does not do her own locking, she inherits it from whoever called her. so whoever called her better have their life together, iykyk π
π SEE ALSO π
the whole friend group, in ./drivers/ata/pata_sis.c in the Kernel file π:
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_100_set_piomode(9)sis_133_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)
fifteen of them. a whole squad. go say hi π
and that's the tea, bestie π§ this lil page came from the ./drivers/ata source, Kernel API Manual edition, dated October 2026 β mwah, love that for us πβ¨
π¦ 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