pci_dev_set_io_state(9)
π NAME π
okay so bestie, this is pci_dev_set_io_state(9), straight out of the Kernel API Manual β¨ β and itβs giving βset the new error state if possible.β
pci_dev_set_io_state β Set the new error state if possible. π
β¨ SYNOPSIS β¨
bool pci_dev_set_io_state (struct pci_dev *dev , pci_channel_state_t new
);
π ARGUMENTS π
devβ the PCI device to set newerror_state. main character device energy π«Άnewβ the state we wantdevto be in. manifesting it fr fr π
π¦ DESCRIPTION π¦
Okay so hereβs the vibe check: if the device is experiencing perm_failure, it has to remain in that state β no cap, thatβs non-negotiable π.
Any other transition is allowed, slay β¨.
Returns true if state has been changed to the requested state. periodt. π
π SEE ALSO π
Kernel file ./drivers/pci/pci.h is in the group chat, along with:
PCI_FIND_NEXT_CAP(9)PCI_FIND_NEXT_EXT_CAP(9)pci_bar_index_is_valid(9)pci_id_from_device(9)pci_match_one_id(9)pci_resource_num(9)struct aer_err_info(9)
cute sign-off: big love from the ./drivers/pci crew in the Kernel API Manual, October 2026, for pci_dev_set_io_state(9) ππ¦β¨
π¦ 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