__of_scan_bus(9)
π
__of_scan_bus (9)
okay so bestie, welcome to the Kernel API Manual β¨ this one lives in section 9 and it's giving "powerpc PCI bring-up, but make it cute" π no cap, it's a whole vibe.
π¦ NAME
__of_scan_bus β given a PCI bus node, setup bus and scan for child devices π
like, you hand it a node and a bus and it goes off to find the babies. icon behavior honestly πΈ
β SYNOPSIS
void __of_scan_bus (struct device_node *node , struct pci_bus *bus , int
rescan_existing );
not me copying this character for character because we do not mess with signatures π
β¨ ARGUMENTS
nodeβ device tree node for the PCI bus π³ like the family tree entry for this bus, yk?busβpci_busstructure for the PCI bus π the actual bus object, the main characterrescan_existingβ Flag indicating bus has already been set up π so if this is1-ish vibes, the bus has already been set up and we're just rescanning. iykyk.
π₯ SEE ALSO
Kernel file ./arch/powerpc/kernel/pci_of_scan.c π β that's the home base, the whole squad lives there:
get_int_prop(9)of_pci_parse_addrs(9)of_create_pci_dev(9)of_scan_pci_bridge(9)of_scan_bus(9)of_rescan_bus(9)
literally the friend group π«Ά go read all of them, they ate π―
k that's the whole page bestie π this came straight out of ./arch/powerpc/kernel, dated October 2026, and it's the section 9 __of_scan_bus moment π mwah, slay, 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