pci_find_bus(9)
πΈ NAME πΈ
pci_find_bus β locate PCI bus from a given domain and bus number. This one lives in the Kernel API Manual, and the page itself is pci_find_bus(9), iykyk π
.
π¦ SYNOPSIS π¦
struct pci_bus * pci_find_bus (int domain , int busnr );
π ARGUMENTS π
domainβ number of PCI domain to search. That's the domain you're looking in, bestie.busnrβ number of desired PCI bus. Yep, the bus number you actually want.
π DESCRIPTION π
Okay so picture this: you give it a PCI bus number and a domain number, and it goes looking for the desired PCI bus in the global list of PCI buses. If the bus is found, you get a pointer to its data structure back β slay. If no bus is found, it returns NULL β no cap, that's the no-bus answer. π
π SEE ALSO π
Kernel file ./drivers/pci/search.c β and the related function besties are:
pci_find_next_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)
Source/version: ./drivers/pci Β· Date: October 2026 β ok that's the whole page, bye bestie, this was pci_find_bus(9) π
β¨
π¦ 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