__of_scan_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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_bus structure for the PCI bus 🚌 the actual bus object, the main character
  • rescan_existing β€” Flag indicating bus has already been set up πŸ‘€ so if this is 1-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:

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