trim_stale_devices(9)
π NAME π
okay so bestie, you're on the trim_stale_devices(9) page in the Kernel API Manual β and this one does exactly what it says on the label: it removes PCI devices that are not responding. no cap, that's the whole vibe. π
β¨ SYNOPSIS β¨
here's the signature, copy it exactly please, no autocorrect energy:
void trim_stale_devices (struct pci_dev *dev );
π ARGUMENTS π
devβ the PCI device where you start walking the hierarchy from. that's the starting point, bestie. π¦
πΈ SEE ALSO πΈ
- the kernel file is
./drivers/pci/hotplug/acpiphp_glue.cβ that's where it lives, iykyk. acpiphp_init_context(9)acpiphp_get_context(9)acpiphp_put_context(9)acpiphp_post_dock_fixup(9)acpiphp_add_context(9)acpiphp_max_busnr(9)enable_slot(9)disable_slot(9)get_slot_status(9)acpiphp_check_bridge(9)acpiphp_enumerate_slots(9)acpiphp_remove_slots(9)acpiphp_enable_slot(9)acpiphp_disable_and_eject_slot(9)
and that's the whole page, bestie π the source/version tag says ./drivers/pci/hotplug, the date is October 2026, and yes β it's still trim_stale_devices(9). 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