via_reinit_one(9)
πΈ via_reinit_one(9) πΈ
okay bestie, welcome to via_reinit_one(9) from the Kernel API Manual. this page is short and sweet, and it's literally all about that post-resume reinit life. π¦
β¨ NAME β¨
via_reinit_one β reinit after resume
π SYNOPSIS π
int via_reinit_one (struct pci_dev *pdev );
π ARGUMENTS π
pdevβ PCI device. that's the one and only argument, bestie. π
π₯ DESCRIPTION π₯
So this function gets called when the VIA PATA device is resumed. yes, like waking up from a lil nap π. When that happens, we must then reconfigure the fifo and other setup we may have altered. the setup needs its glow-up back, fr fr. β¨
In addition, the kernel needs to have the resume methods on PCI quirk supported. that's the vibe check the kernel has to pass. π
π SEE ALSO π
Kernel file ./drivers/ata/pata_via.c is right there, plus the whole friend group:
via_cable_detect(9)via_do_set_mode(9)via_mode_filter(9)via_tf_load(9)via_config_fifo(9)via_init_one(9)
source/version ./drivers/ata, dated October 2026 β and that's the cute lil sign-off, 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