pci_init_reset_methods(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

pci_init_reset_methods β€” check whether device can be safely reset and store supported reset mechanisms.

Hi bestie!! You're in the Kernel API Manual and this is the pci_init_reset_methods(9) page β€” welcome to the PCI reset corner of the kernel πŸ’…βœ¨

✨ SYNOPSIS ✨

void pci_init_reset_methods (struct pci_dev *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI device we're checking for reset mechanisms 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so some devices are lowkey iconic like this: they let an individual function be reset without affecting other functions in the same device. The PCI device must be in D0-D3hot state, no cap.

This stores the reset mechanisms supported by the device in the reset_methods byte array, which is a member of struct pci_dev. slay πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/pci.c β€” and literally a whole friend group of PCI functions, iykyk:


This page came from source/version ./drivers/pci and is dated October 2026 β€” mwah, go reset something safely πŸ’‹πŸ’–

πŸ“¦ where this page comes from