via_reinit_one(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


source/version ./drivers/ata, dated October 2026 β€” and that's the cute lil sign-off, mwah πŸ’‹

πŸ“¦ where this page comes from