do_pata_set_dmamode(9)
π NAME π
okay so this is do_pata_set_dmamode(9) from the Kernel API Manual, and the official one-liner is literally Initialize host controller PATA PIO timings. yes bestie, that's the exact description β we are not editing the lore π
β¨
β¨ SYNOPSIS β¨
void do_pata_set_dmamode (struct ata_port *ap , struct ata_device *adev
, int isich );
π ARGUMENTS π
apβ Port whose timings we are configuring. it's giving "main character port energy" π«Άadevβ Drive in question. the device we're looking at, fr fr.isichβ set if the chip is an ICH device. lowkey important detail π
π¦ DESCRIPTION π¦
Set UDMA mode for device, in host controller PCI config space. that's the whole vibe β short, iconic, and straight to the point πΈ
π LOCKING
None (inherited from caller). so yeah, no locking here β it's inherited from the caller, bestie. don't come for this function about locks π
πΈ SEE ALSO πΈ
Kernel file ./drivers/ata/ata_piix.c and the whole squad:
ich_pata_cable_detect(9)piix_pata_prereset(9)piix_set_piomode(9)piix_set_dmamode(9)ich_set_dmamode(9)piix_check_450nx_errata(9)piix_init_one(9)
that's the page, bestie π source/version: ./drivers/ata Β· date: October 2026. periodt π
β¨
π¦ 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