pci_hp_remove_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pci_hp_remove_devices(9) β€” a Kernel API Manual moment

okay so bestie, we're in the Kernel API Manual today and this one is literally about yeeting every PCI device under a bus. no cap. it's giving cleanup era. 🧹✨


✨ NAME ✨

pci_hp_remove_devices β€” remove all devices under this bus

like, all of them. every single one. periodt. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void pci_hp_remove_devices (struct pci_bus *bus );

note the void β€” this function returns nothing, it just does the thing and leaves. main character energy, honestly. 🫢


🌸 ARGUMENTS 🌸

  • bus β€” the indicated PCI bus πŸ’–

that's it. that's the whole argument list. one (1) bus. she's lowkey simple like that.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: this function removes all of the PCI devices under this bus β€” and not just from one place, bestie, from both:

  1. the linux pci device tree 🌈
  2. the powerpc EEH address cache πŸ”₯

two whole places. she's thorough. not me being obsessed with a cleanup function but here we are. πŸ’€


⭐ SEE ALSO ⭐


πŸ’œ reminder bestie: this is the remove one. if you were looking for the add one, that's pci_hp_add_devices(9) up there in SEE ALSO. don't mix them up, bestie, i'm begging πŸ™ˆ

and that's the page!! πŸŽ€ this icon was brought to you by the fine folks at ./arch/powerpc/kernel, dated October 2026, and yes the header said pci_hp_remove_devices(9) three times because manpages love a triple threat. slay. πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from