pci_find_next_bus(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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, or NULL for new search. That's the whole vibe: hand over the last bus you found to keep going, or pass NULL to 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:


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