pci_find_next_bus(9)
πΈ NAME πΈ
pci_find_next_bus β begin or continue searching for a PCI bus. Okay so this is the pci_find_next_bus(9) page from the Kernel API Manual, and it's literally your lil guide to walking the PCI bus list. π¦β¨
β¨ SYNOPSIS β¨
struct pci_bus * pci_find_next_bus (const struct pci_bus *from );
π ARGUMENTS π
fromβ Previous PCI bus found, orNULLfor new search. That's the whole vibe: hand over the last bus you found to keep going, or passNULLto start fresh. π
π DESCRIPTION π
It iterates through the list of known PCI buses. A new search is initiated by passing NULL as the from argument. Otherwise, if from is not NULL, searches continue from the next device on the global list.
So basically: NULL = new-search era β¨, non-NULL = pick up from the next device on the global list. No cap. π«Ά
π SEE ALSO π
Kernel file ./drivers/pci/search.c β plus the whole friend group:
pci_find_bus(9)pci_get_slot(9)pci_get_domain_bus_and_slot(9)pci_get_subsys(9)pci_get_device(9)pci_get_class(9)pci_get_base_class(9)pci_dev_present(9)
That's the whole page, bestie. This one lives in ./drivers/pci, stamped October 2026, and it's the pci_find_next_bus(9) page β source/version and date all accounted for, 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