pci_hp_add_devices(9)
π pci_hp_add_devices(9) β the Kernel API Manual glow-up π
okay so bestie, welcome to the Kernel API Manual page for pci_hp_add_devices β yes that's the whole title, we're starting strong β¨
πΈ NAME πΈ
pci_hp_add_devices β adds new pci devices to bus π (that's it, that's the whole gig, and she does it well)
π¦ SYNOPSIS π¦
void pci_hp_add_devices (struct pci_bus *bus );
literally copy that exactly, don't be cute with the spacing, bus is a pointer and the signature is the signature, periodt π
β¨ ARGUMENTS β¨
busβ the indicated PCI bus π like, the bus, the one you're pointing at, the main character of this whole operation
π₯ DESCRIPTION π₯
okay so here's the vibe: this routine will find and fixup new pci devices under the indicated bus. she goes looking, she finds them, she gets them all set up π«Ά
and here's the part that's genuinely iconic β this routine presumes that there might already be some devices under this bridge, so it carefully tries to add only new devices. no stomping on the existing ones, no duplicates, she's respectful like that π
and that, bestie, is how this routine differs from other, similar pcibios routines. iykyk π«
ngl the "only new devices" bit is the whole personality of this function β if you were wondering what makes her special vs. the other pcibios routines, it's that. don't sleep on it π
π SEE ALSO π
- Kernel file
./arch/powerpc/kernel/pci-hotplug.cβ go read the source, she's right there π pcibios_release_device(9)β the releasing counterpart πpci_hp_remove_devices(9)β and this one takes devices away, the opposite energy π
π§ sign-off π§
that's the whole page, bestie β brought to you from ./arch/powerpc/kernel, dated October 2026, and she ate π
β¨ no cap, go add some devices responsibly ππ
π¦ 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